hatap
asked on
Help with form
Not sure if this is the correct area as it is html embedded into a perl script.
Anyway, I have this form in my page:
<table cellpadding="1" cellspacing="1" width="100%" class="border">
<tr>
<form action="$surl\" name="newonly" method="POST">
<td align="left" style="padding: 5px" class="catbg"><span class="smalltext">Your current settings are: $current - Choose how you would like to view posts</span> <select name="newonly"><option value="">Select Post View</option><option value="unread">View Unread</option><option value="all">View All</option</select> <input type="submit" class="button" value="Select">
</td>
</form>
</tr>
</table>
Everything works OK and the user file is updated etc etc but I have to click the Select button twice.
Does anyone know a way around this.
Many Thank's
Martin
Anyway, I have this form in my page:
<table cellpadding="1" cellspacing="1" width="100%" class="border">
<tr>
<form action="$surl\" name="newonly" method="POST">
<td align="left" style="padding: 5px" class="catbg"><span class="smalltext">Your current settings are: $current - Choose how you would like to view posts</span> <select name="newonly"><option value="">Select Post View</option><option value="unread">View Unread</option><option value="all">View All</option</select> <input type="submit" class="button" value="Select">
</td>
</form>
</tr>
</table>
Everything works OK and the user file is updated etc etc but I have to click the Select button twice.
Does anyone know a way around this.
Many Thank's
Martin
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER