Link to home
Start Free TrialLog in
Avatar of Bakersville
BakersvilleFlag for United Kingdom of Great Britain and Northern Ireland

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
ASKER CERTIFIED SOLUTION
Avatar of inviser
inviser

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bakersville

ASKER

Hi inviser

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