Validating Data Assist Insert Multiple Records
First I am beginning to wonder whether it is possible to validate an Insert Multiple Records. Is it? If it is what is the sequence.
1. I have first created the form.
2. Setup the validation
3. Set the show if validation fails.
4. Bound the form fields to the validated values
5. Applied the repeat selection behavior
6. Applied the Insert Multiple Records Behavior.
This inserts the data, but doesn't validate.
I then tried appending _<?php echo $RepeatSelectionCounter_1; ?> to the validated field name.
<input name="contactLastName_<?php echo $RepeatSelectionCounter_1; ?>" type="text" class="bodyCopy" id="contactLastName_<?php echo $RepeatSelectionCounter_1; ?>" value="<?php echo(ValidatedField("epsReferences","contactLastName_<?php echo $RepeatSelectionCounter_1; ?>")) ?>" size="20" maxlength="25">
I am getting an ! to the left of the insert multiple records behavior as well.
Any suggestions?
Jack