- AmSteveAsked on May 10, 2012 at 01:11 PM
Looking to see if anyone's already implemented this pattern:
1) A form is submitted to the Google Docs Integration
2) A Google Apps Script is triggered by the insertion of the row
3) The GA script calls my WebService (running on IIS)
4) The ThankYou pages calls a custom URL and passes enough field data that my server can match up the row that was inserted.
5) A bit of Ajax code in my ThankYou page is on the lookout for any server-side activity. As soon as my server is hit by the call to it's WebService, it processes the row (creates an order), is able to idenitfy which ThankYou page was generated, injects a bit of JSON into that page that can, in turn update the HTML shown to the user with a true confirmation message instead of a generic one.
From the user's point of view, they'd see the initial postback and a generic 'Thanks for your order - Please wait while we get your confirmation and Order Number'.
After the backend stuff executes that field would update with something like 'We've confirmed your order. Your Confirmation Number is 53489842.
- JotForm SupportMike_TAnswered on May 10, 2012 at 07:15 PM
Thank you for contacting us.
Unfortunately, I do not know if someone has already implemented something similar.
Another option that may be easier to implement is just to Post Form Submission Data to Custom Thank You Page and handle that data to provide Confirmation Number.
Please feel free to contact us if you need any further assistance.