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

ID: Q185567


The information in this article applies to:


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, please see the MSDN Web Workshop:

http://msdn.microsoft.com/workshop/default.asp

Additional query words: MHarper


Keywords          : kbhtml kbIE400 kbIE401 kbInternet 
Version           : 
Platform          : 
Issue type        : kbprb 

Last Reviewed: April 16, 1999