I have an HTML page containing two forms. One form uploads an image file and needs to have an encryption type set while the other sends a plain set of request objects. The pages need to have their ‘action’ set to separate pages and I can’t seem to trigger both forms with one button.
You cannot trigger the submission of two forms at the same time. Only the first submission will actually occur. You can solve this issue in one of two ways?with client-side script or with server-side processing. With client-side script, you need to copy the contents of the “other” form into the current form and then submit the current form. With server-side script, you can access all the form elements and take action accordingly.If anyone knows of a different solution, I would love to hear it.