When submitting a form using document.myform.submit, how is the form submitted? I am validating my form using PHP but I'm not getting anything in the $_POST array.
The [tt]form[/tt] is always submitted with the method specified in the [tt]method[/tt] attribute. The difference is that if no [tt]submit[/tt] or [tt]image[/tt] button activated the submitting, then no [tt]submit[/tt] or [tt]image[/tt] button information will be included. Otherwise the data is sent the same way and there is not way to detect any difference on the server side.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.