I am using ASP validators and I have a contact form. I want to be able to have a phone and email radio button group. The email textbox also has a RegularExpressionValidator
If the phone item is selected then I want the validation to be enabled on the phone text box making it mandatory while the email text box isn't, and if they choose the email as the contact it will be reversed.
I want to be able to do this without having to do a postback.
I already have the logic on the code behind and the enquiry object.
also I am fairly new to javascript so I have been using mostly jQuery as easier to implement
If the phone item is selected then I want the validation to be enabled on the phone text box making it mandatory while the email text box isn't, and if they choose the email as the contact it will be reversed.
I want to be able to do this without having to do a postback.
I already have the logic on the code behind and the enquiry object.
also I am fairly new to javascript so I have been using mostly jQuery as easier to implement