Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #18770

Re: How to submit a form with two actions?

From Stefan Weiss <krewecherl@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: How to submit a form with two actions?
Date 2013-03-08 04:21 +0100
Organization albasani.net
Message-ID <khblfe$hr8$1@news.albasani.net> (permalink)
References (4 earlier) <XnsA17D732DFA7eejj99@194.109.133.133> <jO9_s.63643$I12.60573@newsfe16.iad> <8ca39b18-36ed-43f4-b196-922a8344de4b@googlegroups.com> <khbgf5$6io$1@news.albasani.net> <bff73e7f-101e-4ccd-bdf7-70b01d09824e@googlegroups.com>

Show all headers | View raw


On 2013-03-08 03:09, justaguy wrote:
> On Thursday, March 7, 2013 8:55:48 PM UTC-5, Stefan Weiss wrote:
>> Then do it the other way around. Have the form submit to your new URL
>> and send a call to the legacy URL from your own server-side script.

> Nope.  Their existing process takes higher priority, hence, their first.

So call their URL from your script before you do your thing?

- The HTML form is submitted to your URL
- Your script
    - calls their process URL, passing along the form values
    - if it gets a success response
        - writes something to the database
    - handles errors as necessary
    - sends response

> "
>> Please stop top-posting, and try to quote only the text you're referring to.
> "
> Sorry about that.

That wasn't quite what I had in mind :)

Now you've quoted everything, and then the parts you replied to - again.
Take a look here: http://learn.to/quote
Especially part 2 about Quoting and Answering.

Unfortunately, Google Groups is a very poor Usenet client. I don't use
it for posting, but I checked (just in case), and it's possible to quote
correctly, even with GG. You need to remove as many of the lines
starting with ">" as necessary, until you're left with what you want to
quote.


- stefan

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 13:18 -0800
  Re: How to submit a form with two actions? Danny <dann90038@gmail.com> - 2013-03-07 14:40 -0800
    Re: How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 14:46 -0800
      Re: How to submit a form with two actions? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-03-07 15:31 -0800
        Re: How to submit a form with two actions? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-03-08 00:42 +0100
          Re: How to submit a form with two actions? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-03-07 15:55 -0800
            Re: How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 16:43 -0800
              Re: How to submit a form with two actions? Stefan Weiss <krewecherl@gmail.com> - 2013-03-08 02:55 +0100
                Re: How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 18:09 -0800
                Re: How to submit a form with two actions? Stefan Weiss <krewecherl@gmail.com> - 2013-03-08 04:21 +0100
                Re: How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 19:37 -0800
                Re: How to submit a form with two actions? Stefan Weiss <krewecherl@gmail.com> - 2013-03-08 13:18 +0100
    Re: How to submit a form with two actions? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-08 20:51 +0100
  Re: How to submit a form with two actions? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-03-07 23:52 +0100
  Re: How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 15:16 -0800
    Re: How to submit a form with two actions? Danny <dann90038@gmail.com> - 2013-03-07 15:22 -0800
    Re: How to submit a form with two actions? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-03-08 00:37 +0100
      Re: How to submit a form with two actions? justaguy <lichunshen84@gmail.com> - 2013-03-07 16:44 -0800
    Re: How to submit a form with two actions? Denis McMahon <denismfmcmahon@gmail.com> - 2013-03-09 05:09 +0000
  Re: How to submit a form with two actions? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-08 20:50 +0100

csiph-web