2020.1

Table Of Contents
the Form's validation method to jQuery Validation, as described above. When you click OK, the
new version of the web-form-validation.js file will be added.
Submitting a Form
When a form is submitted, by clicking or touching the Submit button, the name and value of
form elements are sent to the address that is specified in the Form's action (see "Adding a
Form" on page527 or "Changing a Form's properties" on page530). If the name attribute is
omitted, the data of that input field will not be sent at all.
The Form's validation should ensure that the data that the user submits is valid.
Using Form elements
Web Form elements can be used in a Web Form or in a Capture OnTheGo Form (see "Forms"
on page688 and "Capture OnTheGo" on page543). This topic explains how to add these
elements to a Form and how to prepare them so that when the Form is submitted, they provide
valid data that can be handled easily.
For a list of Form elements, see "Form Elements" on page694.
For a list of the extra elements that can be used in a Capture OnTheGo form, see "COTG
Elements" on page681.
Adding elements to a Form
To add an element to a Form or Fieldset, click inside the Form or Fieldset, select Insert > Form
elements, and choose the respective element on the menu. (When the element isn't available
via the menu, see the tip below.) Now you can change the element's settings:
1.
Add an ID (required) and, optionally, a class.
Note
The ID will be copied to the name attribute of the element. The name attribute is
what identifies the field to the receiving server-side script. To change the name,
select the element after inserting it and type the new name on the Attributes pane.
Page 532