Groups | Blog | Home
all groups > inetserver asp general > march 2006 >

inetserver asp general : No submit returned in IE form


Roger Withnell
3/31/2006 12:00:00 AM
With the simple form:
<form action="<%= Request.ServerVariables("SCRIPT_NAME")%>" method="post"
name="form1">
<input type="text" name="text1">
<input type="Submit" name="Submit" value="Submit">
</form>
If I click Submit it posts "text1=&Submit=Submit".
If I select text1 and hit Enter, it only posts "text1=" in IE (as above in
Firefox).

If I add a second input <input type="text" name="text2">, select text1 and
hit Enter, it posts text1=&text2=&Submit=Submit in IE.

Is this by design and if so why?




Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
Mike Brind
3/31/2006 4:53:15 AM

[quoted text, click to view]

http://www.cs.tut.fi/~jkorpela/forms/enter.html

--
Mike Brind
Tim Slattery
3/31/2006 8:49:50 AM
[quoted text, click to view]

Looks like an IE bug to me. Few developers make any use of the value
submitted by the <input type="submit"...> button, so few would notice
or be bothered by this bug.

--
Tim Slattery
MS MVP(DTS)
AddThis Social Bookmark Button