- Getting Started
- Before You Begin
- How To
- Designing your App
- Events and Rules
- Rule: If-Then-Else
- Rule: Open a Page
- Rule: Open URL
- Rule: Close Pop-Over/Bottom Sheet
- Rule: Show Message
- Rule: Show/Hide Spinner
- Rule: Set Values
- Rule: Start Process
- Rule: Upload File to Storage Bucket
- Rule: Get File From Storage Bucket
- Rule: Create/Update Entity Record
- Rule: Delete Entity Record
- Rule: Add to Queue
- Function: And, Or, Not
- Function: Concat
- Function: Contains
- Function: Count
- Function: EndsWith
- Function: If
- Function: IsBlank
- Function: Length
- Function: List
- Function: StartsWith
- Function: Sum
- Function: Sort
- Function: Now
- Function: Today
- Function: Time
- Function: Year
- Function: Month
- Function: Day
- Function: Hour
- Function: Minute
- Leveraging RPA in your App
- Leveraging Entities in Your App
- Leveraging Queues in Your App
- Application Lifecycle Management (ALM)
- Basic Troubleshooting Guide
Apps User Guide for Automation Suite
Use Required Input Validation
=true
. You can also set up an error message if the control is not filled in runtime using the Required Error Message property.
You can add text next to the control using the new Label property. You can place the label either above or to the the left of the control by using the Label Placement property from the Style tab.
This property is currently available for the following input controls:
- Date Picker
- Dropdown
- File Picker
- Multiselect dropdown
- Radio Button
- Slider
- Text Area
- Textbox
In the exercise below we will build a simple form with required input validation. You can use this exercise to better understand how required input validation works and learn how to use it efficiently in your apps.
- Open your already existing application or start a new one.
-
Add a Button control to your app.
-
Add
Subscribe
in the Text property.
-
-
Add a new blank page to your app.
- Rename the page to Subscribe Page.
-
Add a Header display control on top of the page.
- Add
Subscribe to this app
in the Text property.
- Add
-
Add a Textbox control below the header.
- Rename it to
Name
. - Add
Name:
in the Label property. - Set the Required property from the Validation to
=true
.
- Rename it to
-
Add a Textbox control below the Name textbox.
- Rename it to
Email
. - Add
Email:
in the Label property. - Set the Required property from the Validation to
=true
.
- Rename it to
Add a Datepicker control below the last textbox.
- Rename it to
Date of birth
. - Add
Date of birth:
in the Label property.
=true
.
Each of these controls have an isValid property. This property will tell us if a control is valid or not.
=true
, the control will not be valid.
-
Add a Button control below the datepicker.
- Add
Submit
in the Text property. -
In the Disabled property, use the isValid property from the previously configured controls to build the following expression:
=! Name.isValid || !Email.isValid || !Date of birth.isValid
.
- Add
-
Go to the Subscribe button from the Main Page and configure the Clicked on event.
- Add an Open a Page rule.
- Add the Subscribe Page in the What page to open field.
-
Mark the Show as Pop-Over (Modal) checkbox.
After following all the steps above, you can preview your app.
In preview mode, if you click the Subscribe button, the Subscribe Page will open. Notice that the Submit button is disabled and it only becomes enabled once all the required fields are filled in.