Using Validation Rule with Data Repeater
- 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Using Validation Rule with Data Repeater
- Updated on 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.
Overview
Example Lab Details | |
Version | 6.10.2 |
Root Folder | Example Lab-Validation For Data Repeater |
Modules | None |
Dependencies | None |
This Example Lab demonstrates how to use a Validation Rule with Data Repeater component on a Form.
Explanation
For this example a Data Repeater User Control was used. Data Repeater used the Account Type as the Form input. It has the fields Email Address, First Name, Last Name that are required for submission. This Data Repeater is added to a regular Form. On the Form there is a Validation Rule. This Rule will prevent the user from submitting the Form without adding at least one entry on the data repeater. The Data Repeater outputs a List of Account type. The Validation Rule takes in this list and will check if its empty. If it is empty this indicates that an entry was not provided and the validation will be thrown on submission.
Reference Articles
Project Download
The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.10.2 or later using our Importing/Exporting article.
Was this article helpful?