Help Center>Foundation Help

Applies to:

  • Winshuttle Foundation

Form Validation

Form Validation properties

The Form Validation element can be used to validate data that a user enters into a form.

Regular expressions and comparison operations can be configured, and server-side code can be written to do custom validations if the existing functionality does not meet your needs.

The regular expression syntax is standard, and references to the regular expression syntax can be found in numerous places on the Web.

Note: Validation will not run until the user submits the form to the workflow.

Form Validation element properties

Property

Description

Regular Expressions

  • RegExp: regular expression to use in validating the field.
  • Field: the name of the field to validate.
  • Message: the message to display if the field’s value does not match the regular expression.

Comparisons

  • Field 1: leftmost field in the comparison.
  • Comparison: the comparison operator.
  • Field 2: rightmost field in the comparison.
  • Message: the message to display if the comparison validation fails.

plugin Validator

  • Assembly: fully qualified name of the assembly from which to load the server-side validator.
  • Class: fully qualified name of the class that must implement the Ws.PluginHelper.IFormValidator interface.

Ordinal

The order in which the validator control should run.