. The website is www.volvosolutions.com
if you want to look at it. What's up there now is just a first draft and I will soon be uploading a much improved and expanded version of it shortly.
But I digress...
On my form I have a text box for the viewer to enter their e-mail address into as well as a menu field for them to be able to select the topic of the message and a scrolling text box for them to enter their comments/suggestions/questions, etc.
Below that I ask if they want a reply by e-mail and follow that with a pair of radio buttons, one being for yes and the other being for no. The default is "No". I think the name of the radio button element is rb1.
Then I have a submit button. Pretty basic.
What I want to have happen is that when the user clicks the Submit button a script runs that looks first at RB1ns to see what it's set to and only do an e-mail validation IF the radio button is set to "yes". If set to no, I want it to skip the e-mail validation and just let the message get submitted as is. If RB1 is set to "yes" I want it to prevent the form data from being submitted and to display a message box warning that they need to enter a valid e-mail addy in the e-mail field.
Threre are lots of free e-mail validation scripts out there so I'm guessing I can just use one of those doing the last part part. I just basically need to know how to set up a script to make the executing of the e-mail validation script conditional based on the status of RB1.
If someone wants to recommend a good free e-mail validation script that I should use that would be great. There are many to choose from and I could use some guidance in choosing one that's both real easy to use and works well.
Thanks heaps !