This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 2
I am confused .. How can I place this?
Started 15 years ago by zishan876 | 3 posts |
-
<script type="text/javascript">
function removeElement()
{
if(document.getElementById("p2").value=="No" || document.getElementById("p2").value=="none"){
document.getElementById("p1").style.display="none";
document.getElementById("p3").style.display="";
}
if(document.getElementById("p2").value=="Yes"){
document.getElementById("p1").style.display="";
document.getElementById("p3").style.display="none";
}
}
function inti()
{
document.getElementById("p1").style.display="none";
document.getElementById("p3").style.display="none";
if(document.getElementById("p2").value=="none"){
document.getElementById("p3").style.display="none";
}}
</script>
<tr>
<td valign="top" nowrap>Is this correct<font color=red>*</font> </td>
<td> <select id="p2" name='correction' onchange="removeElement()">
<option value='none'>----</option>
<option value='Yes'>Yes</option>
<option value='No'>No</option>
</select>
</td>
</tr>
<tr id="p3">
<td valign="top">Time that it Starts: <font color=red>*</font> </td>
<td><input type="text" name="hr" size=2> : <input type="text" name="min" size=2> PM</td>
</tr></table>
<table border="1" id="p1">Having the table based off the dropdown option field...
where do I place this???Posted 15 years ago # -
like where you got that code?
Posted 15 years ago # -
That code above is not coming from MachForm.
Where did you get that code?Let me know what you are trying to do.
MachForm Founder
Posted 15 years ago #
Reply
You must log in to post.