Can someone tell me why Firefox will close the form earlier by adding? It closes the form long before the submit button, so the form will not be submitted.
This usually happens because you have a design that should be interpreted as an end-of-form tag or is seriously invalid so that the browser does not recover well due to an error.
All code for the form is a little long to post here.
No, this is not the case (although if you can create a smaller test case that still demonstrates the problem, then that would be preferable.
html is output from PHP. Not sure if this will make a difference?
This is not true. Browsers only care about what is in the HTTP response, and not how it got there.
source share