Data Validation in a Repeating Section

D

Dave C

I have a repeating section where the primary control is a dropdown list box
from where the user can select defined values. This control has data
validation so it can't be blank. One of the list box values is 'Other'
which, when selected, makes an embedded section (non repeating) visible which
in turn contains a text box for the user to enter a description. The text box
has data validation that makes it mandatory only when 'Other' is selected in
the dropdown list box. This works fine if 'Other' is the only value selected
ie: the repeating section is not repeated.

In cases where the user selects another value from the list (not Other) and
then inserts another instance of the repeating section, and then selects
'Other' and completes the description box, an message is returned when
submitting the form stating that 'some rules were not applied' I have rules
(on the submit button) checking the integrity of the input which indicate
that when the above scenario occurs the form is expecting a value in the
description box (underlying the non 'Other' value).

I hope that this makes sense and that someone can suggest a solution.

Thanks ... Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top