2022.1

Table Of Contents
with CSS files" on page786).
l An Action: the URL where the form data should be sent. The URL should be a
server-side script that can accept form data (a Workflow process that starts with a
Server Input task, for example).
l A Method: this defines whether the form should be sent using the GET or POST
method.
l An Encryption Type (enctype):
l application/x-www-form-urlencoded: Default. All characters are encoded
before they are sent. Spaces are converted to "+" symbols, and special
characters are converted to ASCII HEX values.
l multipart/form-data: No characters are encoded. This value is required when
you are using forms that have a file upload control.
l text/plain: Spaces are converted to "+" symbols, but no special characters are
encoded.
Changing a Form's validation method
In Connect PlanetPress Connect, there are two ways in which a Form's input can be validated:
l The Browser validation method leaves it up to the browser to validate the user input.
When adding fields to the Form (see the next step) you can only make fields required and
set the maximum length as an additional requirement for some fields.
l JQuery Validation validates input using JQuery scripts. This allows for stricter
requirements per field and a different message for each field to display to the user if the
input is not valid. This method ensures a more consistent validation, as it is browser
independent. The necessary JQuery files will be added to the JavaScript folder on the
Resources pane when this option is chosen.
To change a Form's validation method:
1. Right-click on the Form element and choose Validation settings.
2. Choose a validation type (see above).
3. Double-click each field in the list to edit their validation settings:
l Required: Check if the field is required to submit the form. If a field is required but
contains no data, a message will be shown to the user.
l Minimum length: Enter a numerical value for the minimum character length
required for this field.
Page 754