| Best Answer
|
|
So what have you tried so far? Or are you actually expecting somebody to write the JavaScript for you...?
|
|
Question Author
No, if i wanted someone to write it for me i would of put all the script in!
I have been trying to use the function validateText with var est ect, for text boxes and for radios using function validateRadio () with if(document.contactform.small[0].checked == 0) return false not having any luck though. Was just wondering if anyone knew another way to do it. I have also tried in dreamweaver adding the spry validation but it won't let me select it. |
| -- answer removed -- |
|
> i would of
Ouch... |
|
I'm feeling the pain too.
|
|
First things first: validateRadio() isn't a standard JavaScript method - where are you getting that from?
Secondly, your HTML makes no mention of a <form /> object with an id of 'contactform', so document.contactform is NEVER going to work. Use document.getElementById instead: http://stackoverflow....elected-in-javascript |
0 min ago
Quizzes & Puzzles
1 min ago
Football
2 mins ago
Insurance
The Government Have Been Reported As...
2 mins ago
ChatterBank
4 mins ago
ChatterBank
Should Senior Management Of The Care...
8 mins ago
News