Validating Submit Button
-
Hey Guys,
I was just wondering if someone can help me out here. I have given the user to select one of the 2 submit button I have on my form. But I’m not sure how to check which one the user selected. I use id for my submit button. Will it be possible to validate using the id in my on_sent_ok code ? if so how can can I check it.
my code is something like thaton_sent_ok: “if (document.getElementById(‘chessrating’).value> 2200) {location.replace(‘http://www.greensborochess.org/thank-you-for-your-participation’)} else {location ………..+”;} “
Please advice
Many Thanks’
Jacob
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Validating Submit Button’ is closed to new replies.