An form input field (form-field) must be placed inside a form wrapper. An form-field allows a user to enter data and submit these to the server. The chosen form wrapper decides what happens with the submitted data. The following from-field styles are available:
input is a one-line form-field style that allows to enter different types of data (e.g. text, color, time, date, checkbox).radio allows to predefine a set of options for the user to select. It provides a list of options where only one option can be chosen.select is a form-field style that provides a predefined set of choices which can be selected with a dropdown menu. In contrast to the radio style the select style has a different visual appearance and provides a list of options where also multiple options can be chosen.slider is an extension of the style input of type range. It allows to provide a label for each position of the slider.textarea is a multi-line from-field style that allows to enter multiple lines of text.All form-fields require a field name which defines the name of the from-field and is used to identify the value corresponding to the form-field, once the value is transmitted. If the field name is left empty the form-field will not be rendered.
Further, all form-fields support the field value which defines the default value of the form-field and the field label which defines the text that is rendered above the form-field. If label is left empty the form-field is rendered without any margins.
Finally, all form-fields support the field is_required. If it is set, the form-field is marked as required and will, depending on the browser support, be highlighted as faulty on submit if left empty.