Hi
 
I have just tried adding validation to my dbforms based system, and it worked fine until I tried to do an update on a child form within a parent form. Then I get errors implying that 'required' parent fields are not filled in, when they are.
 
Is this a known limitation of dbforms, or a bug?
 
Looking at the hidden fields in the form, the field which defines the validation for each form is defined like <input type="hidden" name="formValidatorName" value="train_course">, which means that a different validator for the subform, eg <input type="hidden" name="formValidatorName" value="train_course_category"> will not be invoked.
 
If this is the case, should the "formValidatorName" be suffixed by the table number as happens with parameters such as auto_update, eg <input type="hidden" name="autoupdate_14" value="false">
 
Any suggestions for a fix or work-around would be much appreciated, as virtually all my update forms have sub-forms.
 
Cheers
Peter
 
----------
Peter Thomas
WebTrax Web Services
Email: [EMAIL PROTECTED]
Ph/Fax: +61 2 6251 1818

Reply via email to