PRB: FORM Inside of Empty <TABLE> Pair Does Not Generate Submit (185567)



The information in this article applies to:

  • Microsoft Internet Explorer (Programming) 4.0
  • Microsoft Internet Explorer (Programming) 4.01

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:

Modification Type:MajorLast Reviewed:5/11/2006
Keywords:kbhtml kbprb KB185567