PRB: FORM Inside of Empty <TABLE> Pair Does Not Generate Submit
Article ID: 185567
Article Last Modified on 5/11/2006
APPLIES TO
- Microsoft Internet Explorer 4.0 128-Bit Edition
- Microsoft Internet Explorer 4.01 Service Pack 2
This article was previously published under Q185567
SYMPTOMS
If a <FORM> tag is included inside a table tag pair that does not contain
any rows or cells, the form data is not submitted as in the following
sample HTML:
<HTML>
<BODY>
<TABLE>
<FORM ACTION=reflectr.dll METHOD=POST>
</TABLE>
<INPUT TYPE=TEXT NAME=T1>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>
The form's Submit action is called but no data is included.
CAUSE
Internet Explorer 4.0 and later versions are much stricter than prior
versions of Internet Explorer in requiring well-formed HTML in order to
function properly.
RESOLUTION
Remove the <TABLE> tags from around the <FORM> tag and the submit will work
properly.
STATUS
This behavior is by design. Internet Explorer 4.0 and later versions are
much stricter than prior versions of Internet Explorer in requiring well-
formed HTML in order to function properly.
REFERENCES
For more information about developing Web-based solutions for Microsoft Internet Explorer, visit the following Microsoft Web sites:
Additional query words: MHarper
Keywords: kbprb kbhtml KB185567