Forum Moderators: open

Message Too Old, No Replies

form validation with no action?

         

mtzheng

6:36 pm on Jul 5, 2005 (gmt 0)

10+ Year Member



my form doesn't validate without an action tag, but my form is a simple dropdown list which doesn't require an action. please help.


<form>
<select name="state" onchange="go(this.form)">
<option value="#TOP">--Select--</option>
<option value="#AL">Alabama</option>
.....
.....
<option value="#WY">Wyoming</option>
</select>
</form>

regards

encyclo

6:58 pm on Jul 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The easiest way is to have a blank
action
attribute, which will validate fine:

<form [b]action=""[/b]>

mtzheng

12:27 pm on Jul 6, 2005 (gmt 0)

10+ Year Member



that does the work. thanx pal.