Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2003
    Posts
    2

    Question Unanswered: How could I make a form with 2 different actions?

    Hello,

    I'm using a form for a party subscription. I need to have 2 different actions for that form.
    The 1st one is to a cgi on my website to store the subscription data in a flat text file for internal use.
    The 2nd is cgi to the payment gateway.

    Once the submit button is clicked, the data should be sent both to my cgi + the payment gateway.

    Is it possible?

    Could you please help me?

    Thanks a lot

  2. #2
    Join Date
    Aug 2003
    Posts
    11
    You need javascript for this. Go on google and look up form action tutorials. Most likely what ide do is have it go to a perl script which processes your data then prints a forum and auto-submits it using javascript.

  3. #3
    Join Date
    Aug 2003
    Posts
    3
    Or change your code flow to a linear model and have the action point to your internal script, let it do it's thing then pass the info on to the payment gateway.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •