Thanks for your answer. I was hoping to use something similar to this script:
Code:
function checkInput(){
var val = document.getElementById('myText').value;
var myForm = document.getElementById('myForm');
if(val=="valueX")
myForm.action="page1.html";
else
myForm.action="page2.html";
}
But I'd need to validate all the radio buttons first and...
Javascript -- go to URL based on radion button sets selection
Hello, I'd trying to write a script that would on clicking submit go to various URLs based on selected radio buttons. I have three sets of radio buttons, and depending on the combination (one button from every set), there will be a different .html page to go on submit.
Is it possible?
I an new to javascript and appreciate any help/directions!...
Leave a comment: