Mondeo
03-23-2002, 02:44 PM
I have a fairly basic form which uses FormMail as the processing script. It works fine but I need some validation set up for it.
I would like to be able to verify that all required fields are entered, that these fields are formatted correctly and specifically that the email address given is valid (to a point i.e. something@something.com rather than just rubbish).
To complicate things a little the required fields will depend on what options are chosen earlier. For example, if "Not listed" is chosen for the company name then the user must fill in the field called "othercompany" - if anything other than "Not listed" is chosen from the list then they dont have to fill in the other company field (there are a few of these in the form).
Can anyone help? Need this quickly please!!
tks
Jason
jason at british dash amateurs dot com
I would like to be able to verify that all required fields are entered, that these fields are formatted correctly and specifically that the email address given is valid (to a point i.e. something@something.com rather than just rubbish).
To complicate things a little the required fields will depend on what options are chosen earlier. For example, if "Not listed" is chosen for the company name then the user must fill in the field called "othercompany" - if anything other than "Not listed" is chosen from the list then they dont have to fill in the other company field (there are a few of these in the form).
Can anyone help? Need this quickly please!!
tks
Jason
jason at british dash amateurs dot com
