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!

Sign In or Register to comment.