quick form tutorial question! :)

quick form tutorial question! :)

Hi guys,

Im a complete newbie with jquery,

I am following this tutorial in order to build a basically validated form with no page refresh on submit using jquery:

http://net.tutsplus.com/tutorials/javascript-ajax/submit-a-form-without-page-refresh-using-jquery/

So far, I have got to the basic showing the error messages if each field is blank, and changing what i receive as their message in an email by changing this part in the javascript:

"var dataString = 'name='+ name + '&email=' + email + '&phone=' + phone;"

to:

"var dataString = ' Visitor name: '+ name + ' Email address: ' + email + ' Phone number: ' + phone + ' Their message: ' + comment;"

however, i have a problem - i use a dropdown selection box on my form and a set of 2 radio buttons.

Can i be so rude as to ask a quick question: how do i implement the validation with these? and when it comes to the email i am going to receive - how do i correctly say what option the user chooses?

I will happily email the code of my effort so far to anyone who is willing to help me

Thankyou
Emma

In the end, id like to add it to my modelling website - all credit given of course

thanks so much for your time

Emma
http://www.ameliealden.com