{ "meta": { "action": "some", "id": "id_form" }, "data": [ { "type": "textInput", "name": "email", "placeholder": "Email", "id": "emailId", "label": { "title": "Email", "for": "emailId", "class": "form-label" }, "class": "form-control" }, { "type": "textInput", "name": "phone", "placeholder": "Телефон", "class": "form-control", "style": "color:RED;" }, { "type": "select", "name": "select_city", "class": "form-control", "id": "cityId", "label": { "title": "Выберите город", "for": "cityId", "class": "form-label" }, "value": 2, "options": {"1": "Москва", "2": "Донецк", "3": "Ростов"} }, { "type": "textArea", "name": "description", "class": "form-control", "placeholder": "Описание" }, { "type": "checkbox", "name": "agree", "class": "", "id": "agreeId", "label": { "title": "Согласен с правилами", "for": "agreeId", "class": "form-label" } }, { "type": "button", "value": "Проверить", "name": "btn", "class": "btn btn-primary" } ] }