I am unable to find info to create a script. I am trying to get a link to appear when somebody selects "yes" to a certain radio button on a form. Once it is selected I would like a link to appear beside the radio button that links to a download page. Ultimately I would like it to activate when "yes" on three radio buttons are all selected (different parts of form). The current code I have now is
<head>
<script>
var stringshow = ""
function showlink()
{
if (document.PForm.Scheduler[0].checked ){
stringshow = "jsdfhsk";
document.write(stringshow);
}
}
</script>
</head>
<body>
<form action="test.html" name="PForm">
<input type="radio" name="Scheduler" value="yes" onclick="showlink()">Yes <br>
<input type="radio" name="Scheduler" value="no" checked>No
</form><br>
<script>document.write(stringshow)</script>
</body>
Thanks
<head>
<script>
var stringshow = ""
function showlink()
{
if (document.PForm.Scheduler[0].checked ){
stringshow = "jsdfhsk";
document.write(stringshow);
}
}
</script>
</head>
<body>
<form action="test.html" name="PForm">
<input type="radio" name="Scheduler" value="yes" onclick="showlink()">Yes <br>
<input type="radio" name="Scheduler" value="no" checked>No
</form><br>
<script>document.write(stringshow)</script>
</body>
Thanks