What i need to do is make a second form invisble until the first form has been submitted
i have this in my head
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
document.form2.txtyes.style.visibility = 'hidden'
document.form2.txtno.style.visibility = 'hidden'
// End -->
</script>
then this in my submit for the first form
onclick="document.form2.txtyes.style.visibility = 'visible'"
here is the code for the form:
<b><p>Did the letters print to your satisfaction?</b>
<p>
<form action="/SpInet/spinet.spi?wwSpinet~letterchk" method="POST" name="form2">
<input type="Submit" name="txtyes" value="Yes">
<input type="Submit" name="txtno" value="No">
</form><p>
this isn't working, it says document.form2.txtyes is not an object...
I know this is not right,but I am not familiar with javascript
can anyone help me fix this?
Amanda
i have this in my head
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
document.form2.txtyes.style.visibility = 'hidden'
document.form2.txtno.style.visibility = 'hidden'
// End -->
</script>
then this in my submit for the first form
onclick="document.form2.txtyes.style.visibility = 'visible'"
here is the code for the form:
<b><p>Did the letters print to your satisfaction?</b>
<p>
<form action="/SpInet/spinet.spi?wwSpinet~letterchk" method="POST" name="form2">
<input type="Submit" name="txtyes" value="Yes">
<input type="Submit" name="txtno" value="No">
</form><p>
this isn't working, it says document.form2.txtyes is not an object...
I know this is not right,but I am not familiar with javascript
can anyone help me fix this?
Amanda