m making 4 input buttons and want that when some click on any button show a different form related to that button which i want but don't know how this is excat possible 😕
i have seee a code where is this type of function
but that only for one button i don't know how to change that in different buttons and different forums if anyone help m showing here that code
<script type="text/javascript">
function changeVisibility() {
document.getElementById("ez").style.visibility = "visible";
document.f3.subject.disabled=false;
}
function enableNext()
{
document.f3.email1.disabled=false;
}
function enableNext1()
{
document.f3.message.disabled=false;
}
function showForm( )
{
document.getElementById("bt").style.visibility = "hidden";
setTimeout ( "changeVisibility()", 3000 );
}
</script>
</head>
<body >
<div id="ez" style="position:absolute;visibility:hidden;">
<FORM action="verify.php" method="post" name="f3" id="f3" >
<table border="0" width="426">
<tr>
<td width="134">Subject:</font></td>
<td width="276"><input type="text" name="subject" ID="subject" size="20" disabled onBlur ="enableNext();" ></td>
</tr>
<tr>
<td width="134">E-mail</td>
<td width="276"><input type="text" name="email" ID="email1" size="20" disabled onBlur ="enableNext1();" > </td>
</tr>
<tr>
<td width="134"></td>
<td width="276"><input type="hidden" name="board" ID="board" size="5" value = '1'> </td>
</tr>
<tr>
<td width="134">Message</td>
<td width="276"><textarea rows="8" name="message" ID="message" NAME="message" cols="32" DISABLED ="disable"> </textarea></td>
</tr>
</table>
<P>
<input type="hidden" name="id" value="5" />
<input type="hidden" name="name" value="Ablein" />
<INPUT type="submit" value="Send" id="sub" name="sub"> <INPUT type="reset" runat="server">
</FORM>
</div>
<input id="bt" name="bt" type="button" value="Submit Ad" onClick="showForm();">
</body>
i need only show form on click on button mean i want to make different form show on different button 😕