Bakersville
asked on
Make one field mandatory if another field has certain text in it
Hi all.
Not sure where this belongs So thought i'll put it here.
I need to make a field madatory only if a certain response has been made in another field. ie,
Field1 has three options (Mandatory)
Option1
Option2
Option3
Field2 (Will be email or Number).
If someone choses option one, it inserts the text into the database
If option2 is chosen, then a email address is needed
If option3 is chosen, then a number is required.
The system i use is Dreamweaver for my madnatory fields selection normally and code is ASP VBScript.
Any help would be appreciated.
Baker
Not sure where this belongs So thought i'll put it here.
I need to make a field madatory only if a certain response has been made in another field. ie,
Field1 has three options (Mandatory)
Option1
Option2
Option3
Field2 (Will be email or Number).
If someone choses option one, it inserts the text into the database
If option2 is chosen, then a email address is needed
If option3 is chosen, then a number is required.
The system i use is Dreamweaver for my madnatory fields selection normally and code is ASP VBScript.
Any help would be appreciated.
Baker
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you for yu response. I am on Hols at the moment and will give it a try once i return in a week monday.
thanks
Baker