What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Submit to GoogleDocs and then inject Ajax to the ThankYou page.

    Asked by AmSteve 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.

     

  • Profile Image
    JotForm Support

    Answered by Mike_T 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.