Back Forward Client-side format validation

Your application can validate the format of many user inputs on a flow action form or work object form on the user's workstation, before the user submits the completed form to the application server that hosts Process Commander. This feature is known as client-side format validation.

This optional technique has three benefits:

Several standard HTML Property rules support this feature, including those for dates, times, and textareas.

When enabled, user inputs are checked for character formats and by JavaScript equivalents to selected edit validate rules. Additional validation may occur later when the form is submitted.

For example, you can't enter a letter into a numeric field. You can't enter 02/31/2007 into a date field. Error notification occurs immediately when you tab out of the input field or change focus to another field.

Enabling this capability

To enable client-side format validation:

  1. For best results, use this capability with flow action rules and harness rules that use the SmartFrames format and JavaServer Pages tags rather than directives.
  2. Specify an HTML property rule for the property that incorporates the ClientValidation HTML property rule. (Many standard HTML property rules already incorporate this HTML property rule.) You can override the HTML property rule normally associated with the property in the Format field of the Field panel (on the Flow Action, Section, or Harness form).
  3. Check the Enable Client Side Validation box on the HTML tab of the Flow Action form or Harness form.

Notes

Client-side format validation does not test user input values against restrictions defined on the Table Type area of the General tab of the property rule.

Definitions required field, validation
Related topics About Edit Validate rules
How to support interactive formatting of user inputs
Standard rules Standard HTML Property rules

zzzDefinitions — C