I have a form and instead of the user pressing a button, I want the form to submit automatically.
Here is what I have so far:
I want to remove or modify these lines so that when the form is opened it just submits once it gets to this point instead of having the user press the send message button.
Durible Outer Casing to Prevent Fall-Apart
Here is what I have so far:
Code:
<form ACTION="[URL unfurl="true"]http://www.cybernations.net/compose2.asp?Nation_ID=3150"[/URL] METHOD="POST" name="FrontPage_Form1" language="JavaScript">
<div align="center">
<table width="100%"
border=1 cellpadding=5 cellspacing=0 colspan="2" bordercolor="#000080">
<tbody>
<tr bgcolor="5E6C50" class=colorformheader>
<td colspan=2 bgcolor="#000080">
<p align="left"><font color="#FFFFFF"><font class=textsize9><b> :. Compose
A Message To New Reverie ruler of (New Reverie)</font></td>
</tr>
<tr class=colorformfields>
<td align=right width="31%"><font
class=textsize9>To Nation / Member Id:</font></td>
<td width="69%"><font class=textsize9>
New Reverie (New Reverie)
<input type=hidden name="messaging_toid" value="New Reverie">
</font></td>
</tr>
<tr class=colorformfieldsalt>
<td align=right width="31%"><font
class=textsize9>Subject</font></td>
<td><font class=textsize9>
<input
name=messaging_subject class=inputFieldIE value="To all LOSS members" size=50
maxlength=50>
<input name="from" type="hidden" id="from2" value="New Reverie">
</font></td>
</tr>
<tr class=colorformfields>
<td align=right width="31%" valign="top"><font
class=textsize9>Message</font></td>
<td><font class=textsize9>
<input name=messaging_message class=inputFieldIE value="This is a test of the emergency broadcast system. This is only a test." rows=10 cols=50>
</font></td>
</tr>
<tr class=colorformfields>
<td align=right colspan=2><div align="center"> </div>
<div align="center"><font class=textsize9>
<input name=submit2 type=submit class=Buttons id=submit2 value="Send Message">
<br>
</font></div></td>
</tr>
</tbody>
</table>
</div>
<input type="hidden" name="MM_insert" value="form1">
</form>
Code:
<tr class=colorformfields>
<td align=right colspan=2><div align="center"> </div>
<div align="center"><font class=textsize9>
<input name=submit2 type=submit class=Buttons id=submit2 value="Send Message">
<br>
</font></div></td>
</tr>
Durible Outer Casing to Prevent Fall-Apart