I've a form with multiple radiobutton entries and at the bottom of the form are three functions that operate on the selected radiobutton field. I could use the following code I found, to work with a single "text link form submit", but what do I do for 3 different submits? Each different text link performs a different function. Do I make three different Javascript functions like this one below? Also, how do I pass the value of the field that is in the radiobutton? Each field that appears has a hidden variable that I wish to pass to each of these functions.
The JS function:
<script language="JavaScript" type="text/javascript">
<!--
function getsupport ( selectedtype )
{
document.supportform.supporttype.value = selectedtype ;
document.supportform.submit() ;
}
-->
</script>
The hidden input reqd. for text link form submission:
<input type="hidden" name="supporttype" />
The link itself:
<a href="javascript:getsupport('Paid')">Link Function</a>
Thanks.