--- title: "Defining Validation Rules" slug: "defining-validation-rules" updated: 2026-03-09T10:15:33Z published: 2026-03-09T11:26:34Z canonical: "ims-handbook.cenosco.com/defining-validation-rules" --- > ## Documentation Index > Fetch the complete documentation index at: https://ims-handbook.cenosco.com/llms.txt > Use this file to discover all available pages before exploring further. # Defining Validation Rules for Dynamic Forms When you have [created your new Dynamic Form](/v410/docs/creating-new-dynamic-forms) and added all desired [Stages](/v410/docs/adding-dynamic-form-stages), [Sections](/v410/docs/adding-dynamic-form-sections) and [Data Fields](/v410/docs/adding-data-fields-to-dynamic-forms), you can define additional Validation Rules for your Form. Validation Rules (VR) on Dynamic Form level are used to compare entered values in fields and provide feedback to the user. ![](https://cdn.document360.io/e492a0e0-a4ba-4aca-8fc6-76b95f91fdf3/Images/Documentation/pic%202(65).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A53%3A19Z&se=2026-11-22T14%3A53%3A19Z&sr=b&sp=r&sig=bK4kO3%2FNZEs%2FSqV2%2ByqExrdn%2Bqw%2FX%2FtunRk8yMbALts%3D)Validation Rules displayed in the grid. ## Defining Validation Rules To define a Validation Rule: - First define an Alias to the Fields that you want to use in your Validation Rule. - In the Editor, select your Field.  Next click:  (-------  v Show more  --------------- ) - Click **Generate**. You will see that IMS automatically assigns an Alias to your Field. - Click **Save**. ![](https://cdn.document360.io/e492a0e0-a4ba-4aca-8fc6-76b95f91fdf3/Images/Documentation/pic%201-6NUGKGKA.png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A53%3A19Z&se=2026-11-22T14%3A53%3A19Z&sr=b&sp=r&sig=zVhJU7v9szsXbLlldJlJID6Hctq6jdtE0rNYtc8vaHA%3D)Assign an Alisa to your Field and click Save.  - Click the **Logic** Tab.![](https://cdn.document360.io/e492a0e0-a4ba-4aca-8fc6-76b95f91fdf3/Images/Documentation/pic1(40).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A53%3A19Z&se=2026-11-22T14%3A53%3A19Z&sr=b&sp=r&sig=uLsdl3roHabLN%2FOp9Sh%2Fop3b3Npey4rHnUM9VSeipt8%3D)Click the **Logic** tab. - In the Form Level Validation Rules click the *Plus* button. - Enter a Name and Description. - Select a Validation Mode. There are two Validation Modes:  "Formula": - Produce a single result. - Can have a trigger (optional). - Use a Formula to produce a result. "Group": - It is a Parent for grouped Formulas and/or Groups. - Group Operators: AND/OR (mandatory). - Produce a single result. - Can have a trigger (optional). - Use a Group Operator and Children Formula/Group result to produce it's result. - Select a Validation Type ("Warning", "Info", or "Error"). - Add a Message. - Add a Formula Trigger (optional). Click the *Calculator* button to open the [Formula Editor](/v410/docs/formula-editor). - Add a Group Operator ("AND", or "OR") - only for Group Mode. - Add a Formula - only for Formula Mode (optional). Click the *Calculator* button to open the [Formula Editor](/v410/docs/formula-editor). - Click **Save**. For a Group Validation Rule you should define Children Rules. To do so: - Find the Group Validation Rule in the grid. - Click the *Expand* button to expand the row. - Below the Parent Rule, in the Children Rule section click the *Plus* button. ![](https://cdn.document360.io/e492a0e0-a4ba-4aca-8fc6-76b95f91fdf3/Images/Documentation/pic%202(44).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A53%3A19Z&se=2026-11-22T14%3A53%3A19Z&sr=b&sp=r&sig=ALEVYu98agn4ikNzmvM%2FgJdC0b6X%2FwA41MvSRb9fSH0%3D)Adding Children Rules. Also the Formula Validation Rules can be edited using the *Expand* button.![](https://cdn.document360.io/e492a0e0-a4ba-4aca-8fc6-76b95f91fdf3/Images/Documentation/pic%202(66).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A53%3A19Z&se=2026-11-22T14%3A53%3A19Z&sr=b&sp=r&sig=h3yBjKeH4VOZx577e7zPV4CAboRPsRb6aKQefm4osCA%3D)Editing a Formula Validation Rule. ## Validation Results shown in ECHs Each Dynamic Form with Validation Rules will have a **Validation Results** button, which is only shown if any result is present/calculated for the filled-in Checklist and that ECH. ![](https://cdn.document360.io/e492a0e0-a4ba-4aca-8fc6-76b95f91fdf3/Images/Documentation/pic%202(68).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A53%3A19Z&se=2026-11-22T14%3A53%3A19Z&sr=b&sp=r&sig=jmoa5VFq9Sax%2BIHnYu%2Fryh54zXzH0Ga6wR0EQPTnIC8%3D) Results are calculated automatically while the user is filling up the Form fields. The button color represents the Validation status: - Warnings/issues - yellow. - Error - red - Success results with no warnings or issues - green. - Not checked - gray. When **Validation Results** is clicked a dialog will open, showing results for each Validation Rule for that particular Dynamic Form. ![](https://cdn.document360.io/e492a0e0-a4ba-4aca-8fc6-76b95f91fdf3/Images/Documentation/pic%202(69).png?sv=2026-02-06&spr=https&st=2026-11-22T13%3A53%3A19Z&se=2026-11-22T14%3A53%3A19Z&sr=b&sp=r&sig=cwPoXYfR2uGy9Saw9dMvyihy75iZqGyhtqU%2FGy4uUI4%3D)