1.5

Table Of Contents
The JavaScript file web-form-validation.js will not be migrated: delete that file and then change
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 page430 or "Changing a Form's properties" on page433). If the name attribute is
omitted, the data of that input field will not be sent at all.
If a Checkbox or Radio Button is not checked, its name and value are not sent when the form is
submitted. Fortunately, there is a workaround for this; see "Getting the status of unchecked
checkboxes and radio buttons" on page346.
The Form's validation should ensure that the data that the user submits is valid.
Form Elements
This topic lists the elements that can be added to a form in a Web page or in a Capture
OnTheGo template and explains how to add them to a Form, set a default value or change their
validation. For more information about Forms, see "Forms" on page430.
For more information about elements in Forms, see http://www.w3schools.com/html/html_
forms.asp.
Fieldset
A fieldset is a group of related elements in a form. The elements don't have to be of the same
type. After inserting and selecting the Fieldset (see "Selecting an element" on page377) you
can add elements to it in the same way you add elements to a Form; see "Form Elements"
above.
Text
The Text element is a simple <input> element with the type text. It accepts any alphanumerical
characters, including special characters. The string is HTML-encoded before it is submitted to
the server.
Page 435