Forum Moderators: open
<script type="text/javascript">
function showfield(x)
{
var y=document.getElementById(x).value
if (y=="Group")
{
document.getElementById("displayme").innerHTML = 'Names of other attendees in firm: <input type="text" name="namesattending" size=30>';
}
else
{
document.write('')
}
}
</script>
</head><body>
<form action="test5.asp" method="post">
type something here:
<input type="text" name="tttt" size=20>
<br><br>
Select tuition:
<input type="radio" name="Tuition" value="Group" id="fname"
onchange="showfield(this.id)">Group<br>
<input type="radio" name="Tuition" value="Standard">Standard<br>
<input type="radio" name="Tuition" value="EarlyBird">Early Bird<br>
<br>
<div id="displayme"></div>
<input type="submit" value="Register">