Validation is used to ensure that data is correctly formatted and valid before being input into an application.

Different Types of Validation

There are two types of validation rules: validate and edit validate

Validate Rule:

Validate rule is used to execute a property against the conditions. The data entered by the user will be matched with the condition. if the conditon matches, the user can continue the step else application throw an validation error.

This is Service Side Validation

eg: in DOB, what if user selects the future date

Edit Validate rule:

  1. Edit Validate rule is used to check the condition for patterns.
  2. To work with edit validate rule options, developer should have the knowledge of Java. Because each edit validate function is a java source code written.
  3. This is client side validation which executes java code using Ajax Calling.
  4. Invoke Edit Validate rule from an activity rule using the Property-Validate method

Eg; Contact number