For each input or select control in the HTML template of the form, you need to define a corresponding object in the
fields array. A field object has following structure:
If your HTML template is defined as follows:
The form definition will be:
Please note that the name of the input control in the HTML template must match the name of the field. (case-sensative). See
fields section for more information about field types.