Bitrix Site Manager

Names of HTML web form fields

Questions

When displaying a web-form, all answers to questions are represented as HTML fields. Users fill in these fields to answer questions. The table below describes relation between the names of HTML fields and the answer type.

Answer type Description Field name Value
text Single line text. form_text_answer_id Typed text.
textarea Multiple line text. form_textarea_answer_id Typed text.
password Single line password input text. form_password_answer_id Typed text.
date Single line date input text. form_date_answer_id Typed text.
radio Radio button. form_radio_question_sid The selected answer ID.
dropdown Drop-down list. form_dropdown_question_sid The selected answer ID.
checkbox Check button. form_checkbox_question_sid[] The selected answer ID's array.
multiselect Multiple selection list. form_multiselect_question_sid[] The selected answer ID's array.
file File upload field. form_file_answer_id Array describing the uploaded file.
image Image field. form_image_answer_id Array describing the uploaded file.
Legend

Fields

Besides answers to a web form questions, it is essential to display and edit web form field values. The table below describes relation between the names of HTML fields and the field types.

Field type Description Field name Value
text Text. form_textarea_ADDITIONAL_field_id Typed text.
integer Number. form_text_ADDITIONAL_field_id Typed text.
date Date. form_date_ADDITIONAL_field_id Typed text.
Legend

See Also