Jump to content

submit a form with no button?


netfrugal

Recommended Posts

Put this in both of your radio buttons:

[code]onclick="this.form.submit();"[/code]

Example: [code]<form action="other_page">
<label><input type="radio" name="test" value="yes" onclick="this.form.submit();" /> Yes</label> - <label><input type="radio" name="test" value="no" onclick="this.form.submit();" /> No</label>
</form>[/code]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.