Custom Validation Message For Data Grid
Hey, I am on version 9 of Decisions and I am wondering if I can configure custom validation messages for the Data Grid on my Form. I am using a multi select report on the Grid and I want a validation to be thrown if the user does not make a selection. Is there some override validation message option?
Thank you!
Comments
-
Thank you for using the Forum! Custom validation messages are possible through an Active Form Flow on the Form.
First, select the outcome scenario as "Optional".
Next, configure a Active Form Flow to trigger with "SelectionChanged" on the Data Grid control. Also, select the "Run at Startup" and "Run On All Outcomes" options.
For the flow itself you are going to use a "Is List Empty" rule step. Configure the Data Grid selected items as the input of this rule step. On the True output of the rule step, you are going to use the "Set Validation" step.
Configure the Data Grid as the Form Control input and set the Validation Issues as constant input. Click the plus sign on the Validation Issues input and select "Fatal" for the BreakLevel and type in your custom validation message in the Message field.
For the False output of the rule step, use the "Clear Multiple Control Validations" step. Build array on the Form Control input of this step and select the Data Grid as Item 0.
Final Outcome
Thank you again for using the Decisions Forum!
Howdy, Stranger!
Categories
- 4.4K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 112 Rules
- 283 Administration
- 216 Portal
- 502 General Q & A
- 720 Forms
- 353 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 189 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 71 Repository
- 233 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions