I’m trying to get a form to autosubmit a form. I’ve tried addint javascript: before the document.form1.submit(), changing the form name, document name, etc. Here is my current code. Any help would be very appreciated.
Thanks,
Raithe Davion
<title>logon</title>
</head>
<body onLoad=“document.form1.submit()”>
<form name=“form1” action=“http://www.pikespeaklearning.com/index.cgi” method=“POST”>
<input type=“hidden” name=“CE_NEXT” value=“733:”>
<input type=“hidden” name=“CE_ERROR” value=“1:”>
<input type=“hidden” name=“Password:USE_COOKIE/DEFAULT” value=<?php $_POST[“PASSWORD”]?>>
<input type=“hidden” name=“Password:ACTION” value=“check”>
<input type=“hidden” name=“SESSION_ID” value=“0”>
<table width=“100%” border=“0” cellspacing=“1” cellpadding=“1”>
<tr valign=“middle” align=“center”>
<td colspan="2" bgcolor="#cccc99" width="213">
<div align="center">
<input type=“text” class=“listText” name=“ACCESS_CODE” value=<?php $_POST[“ACCESS”]?>>
<input type=“button” value=“LOGIN” onclick=“document.form1.submit()”>
</div>
</td>
</tr>
</table>
</form>
</body>
</html>