Thanks for that Robert. How then do I deal with 'other' fields. For
example if in a location dropdown box i select 'other' another box
appears for the user to type in the address and thbis becomes mandatory
- how would this be implemented into the validation process.
Hi Guys,I have asked similar before but cant figure this out.I have a
form with mainly mandatory fields. There are two fields which are
invisble unless 'other' is selected. I have created a submit button
which creates a email with the pdf as attachemrent. I am trying to get
the submit button to validate the form before submitting. I cannot tell
it to look at individual fields because if someone does select 'other'
the visible fireld which appears becomes mandatory. I just need the form
to check ...
Hi Magus069Many thanks for your reply. However, I don't quite follow.
Where do I put the validation code? Where would I put the execValidate()
code? If I used the execValidate code would that stop the rest of the
code running?At the moment there are mandatory fields in the form which
must be filled in. When the user clicks the submit button which is a
normal regular button an e-mail is produced which lifts information
directly from the e-mail. At the moment the user can click the submit
Hi guys,I need help with some code.I have created a form which users a
normal button as a submit for e-mail. The reason I have done this is
because the button pulls out info from the form and inserts it into the
e-mail. All works so far. The form contains fields which must be filled
in, however because i am using a normal button when it is clicked it
seems to bypass the validation process.I have inserted - if
(topmostSubform.execValidate()) at the top of my script and added in the