The Required Command

Use this command when a field should not be left empty on the interview.

 

Command structure:

«Required(AccountNumber)»

 

Examples of usage:

  • Mark one mandatory field as required:
    «Required(AccountNumber)»
  • Add a second parameter to the command to indicate what type of data should be entered into the required field.
    «Required(DateOfBirth,date)»
  • List more than one mandatory field in a single command:
    «Required(AccountNumber,DateOfBirth)»

 

 

Related articles:

Other types of validation on the interview data

Some tips when using the Rule command

Table of Contents