Repeat not populating
I am trying to populate a repeat field from a database query and I cannot find my mistake. The repeat contains a section, which contains 2 textboxes. The first repeat populates correctly, the min and max set appropriately, but the second and third instances of the repeat do not populate and I get an error in the debug. Attached are screenshots of the rule, form outline, error. My example should return 3 goals, but is failing on the second one. If anyone can help, that would be great!!!
-
Official comment
Hi Teresa,
Please see this rule example in our documentation which shows how to write a rule to populate a table from your database (a repeat works the same way as a table.) I would also recommend you go thru this documentation which explains why we recommend using Doc URI approach vs. business rules if you want to perform CRUD operations using a Table/Repeat control.
Let us know if that helps!
Megan
Please sign in to leave a comment.
Comments
1 comment