Skip to main content

Validation

In this path you will learn how to build a form with validation. You will mark fields as required, define the range of allowed values, and add additional conditions for the entered field values.

Below is the material presenting the resulting functionality.

Issues presented in the current article​

VALIDATIONS

  1. Required fields
  2. Range of allowed field values
  3. Additional validations
  4. Complex validations (validations on a set of fields)

LIST

  1. Building a list
  2. List properties
  3. Actions on the list
  4. Calculated columns
  5. Action column

FORM

  1. Building a form
  2. Building sections using the container control
  3. Actions on the form
  4. Panel 'Form data structure'
  5. Validations

DATA STRUCTURE

  1. Building a data structure
  2. Adding data structure fields

STEP 1 - DATA STRUCTURE​

In this step:

  1. You will create a dictionary for the product field
  2. You will create a data structure

STEP 2 - FORM​

In this step:

  1. You will create a loan application form based on the previously created data structure
  2. You will use the container control to create sections for appropriate data groups
  3. You will add a SAVE action

STEP 3 - LIST​

In this step:

  1. You will create a list for loan applications
  2. You will populate the list with data using an SQL query
  3. You will add several columns to the list based on available data fields
  4. You will create two calculated columns aggregating data from several data fields
  5. You will add an action column
  6. You will add two actions to the list

STEP 4 - REQUIRED FIELDS AND VALUE RANGE​

In this step:

  1. You will mark form fields as required
  2. You will define the range of allowed values for the age field

STEP 5 - ADDITIONAL VALIDATION AND CONDITIONS​

In this step:

  1. You will define a specific range of allowed values for the age field
  2. You will add an additional condition on a set of form fields

STEP 6 - MENU​

In this step:

  1. You will define a menu object for the application
  2. You will add a menu item navigating to the loan application list