Mathilda Posted May 6, 2016 Report Share Posted May 6, 2016 Hi everyone, is anybody knows how to submit 2 forms, which have different source tables on one webpage? Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Aurora Posted May 6, 2016 Report Share Posted May 6, 2016 Hi Matilda, I hide a button of the First Form and use this script on the Second one: <script> function submitallforms() { setTimeout('document.forms[0].submit()',100); setTimeout('document.forms[1].submit()',200); } document.forms[1].onsubmit=submitallforms; </script> I hope this helps. Best, Aurora Quote Link to comment Share on other sites More sharing options...
MayMusic Posted May 6, 2016 Report Share Posted May 6, 2016 I tried it did not work for me can you please elaborate how you use the code? I put the code in the Footer of the second page Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.