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
| LIST
|
FORM
| DATA STRUCTURE
|
STEP 1 - DATA STRUCTURE
In this step:
- You will create a dictionary for the product field
- You will create a data structure
STEP 2 - FORM
In this step:
- You will create a loan application form based on the previously created data structure
- You will use the container control to create sections for appropriate data groups
- You will add a SAVE action
STEP 3 - LIST
In this step:
- You will create a list for loan applications
- You will populate the list with data using an SQL query
- You will add several columns to the list based on available data fields
- You will create two calculated columns aggregating data from several data fields
- You will add an action column
- You will add two actions to the list
STEP 4 - REQUIRED FIELDS AND VALUE RANGE
In this step:
- You will mark form fields as required
- You will define the range of allowed values for the age field
STEP 5 - ADDITIONAL VALIDATION AND CONDITIONS
In this step:
- You will define a specific range of allowed values for the age field
- You will add an additional condition on a set of form fields
STEP 6 - MENU
In this step:
- You will define a menu object for the application
- You will add a menu item navigating to the loan application list