submission of form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Izzy123
    New Member
    • Apr 2010
    • 7

    submission of form

    Hi I have a question about form submitting.

    I have to submit a form but when I click submit, it should simulating the submission of another form.

    So for example, If I press submit in FormA, it should submit FormA aswell as FormB.

    Anyone know how to do that?

    p.s those two forms are on different html pages.
  • chathura86
    New Member
    • May 2007
    • 227

    #2
    well you cannot submit two forms same time. unless you use some ajax or js

    but i can suggest something like this

    assume formA in pageA.html
    and fromB in pageB.html

    when user submits the formA it will be sent to the server and the user will be
    redirected to the pageB.html and a js script will submit the formB once the pageB.html is loaded

    how ever i dont see a reason to auto submit a form (formB) on loading since the user will not get any chance to fill the form (unless you are using some hidden fields in the formB so something like that

    Regards

    Comment

    Working...