For my form
Code:
<html>
<head>
<link href="../styles.css" rel="stylesheet" type="text/css">
<style>
.submit {
background-color: #000000;
color: #FFFFFF;
}
</style>
<script type="text/javascript">
function disp_alert()
{
alert("To become a sponsor you got to donate us.")
}
</script>
</head>
<body>
<form name="form1" method="post" form action="<?=$_SERVER['PHP_SELF']?>">
<table width="538" border="0" bgcolor="#CCCCCC">
<tr>
<td colspan="2" class="title3"><u>Become a Sponsor or Partner</u></td>
</tr>
<tr>
<td class="title2">Full Name:</td>
<td class="title2"><input name="name" type="text" class="submit" id="name" size="30"></td>
</tr>
<tr>
<td class="title2">Email:</td>
<td class="title2"><input name="email" type="text" class="submit" id="email" size="30"></td>
</tr>
<tr>
<td class="title2">Website:</td>
<td class="title2"><input name="website" type="text" class="submit" id="website" size="35"></td>
</tr>
<tr>
<td class="title2">Partnar/Sponsor's Name: </td>
<td class="title2"><input name="psname" type="text" class="submit" id="psname" size="35"></td>
</tr>
<tr>
<td class="title2">Website Banner:</td>
<td class="title2"><input name="wbanner" type="text" class="submit" id="wbanner" size="40"></td>
</tr>
<tr>
<td class="title2">About Website: </td>
<td class="title2"><textarea name="about" cols="30" rows="2" class="submit" id="about"></textarea></td>
</tr>
<tr>
<td class="title2">Type:</td>
<td class="title2"><input type="radio" value="radiobutton" onClick="disp_alert()" name="sop">
Sponsor
<input type="radio" value="radiobutton" name="sop">
Partnar</td>
</tr>
<tr>
<td class="title2"> </td>
<td class="title2"> </td>
</tr>
<tr>
<td colspan="2" class="title2"><input name="send" type="submit" class="submit" id="send" value="Send Request!">
<input name="reset" type="submit" class="submit" id="reset" value="Reset Form"></td>
</tr>
</table>
</form>
</body>
</html>
How can I make when someone clicks on the sponsor radio button and then below the table it will need to show this
Code:
<td class="title2">Donate:</td>
<td class="title2"><input name="donate" type="text" class="submit" id="donate" value="$0.00" maxlength="20"></td>
If I can't say it right please tell me.