Fields being posted back via Thank You page's Custom URL do not have correct names

  • AmSteve
    Asked on September 8, 2015 at 5:11 PM

    I have a form using the multi-part Address widget. When the Thank You page posts back to my custom URL the names for the specific field is not carried across:

    address14%5b%5d=
    address14%5b%5d=
    address14%5b%5d=55
    address14%5b%5d=wi
    address14%5b%5d=54636
    address14%5b%5d=United+States

     

    How am i supposed to parse out the individual fields?

  • jonathan
    Replied on September 8, 2015 at 7:54 PM

    Can you please tell us which of your form you were trying to do this?

    I tried checking on your jotform http://www.jotformpro.com/form/52098289485976 but I could not see the option when I test submitted the form.

    It was redirected to a non existing thank you page

    Fields being posted back via Thank You pages Custom URL do not have correct names Image 1 Screenshot 20

     

    We will wait for your response.

     

    Thanks.

  • AmSteve
    Replied on September 9, 2015 at 3:51 AM
  • Welvin Support Team Lead
    Replied on September 9, 2015 at 11:40 AM

    Since Send Post Data is enabled in your form, I think you were trying to post the submission data to your custom thank you page. If this is correct, you can set the following URL as your custom Thank You URL and submit it to view the correct field variables:

    http://www.jotform.com/show-post-data/

    Here's our full guide for this process: http://www.jotform.com/help/51-How-to-Post-Submission-Data-to-Thank-You-Page.

     

    If you're trying to get the field names for prepopulation, the correct fields names are:

    address14[addr_line1]

    address14[addr_line2]

    address14[city]

    address14[state]

    q14_address14[postal]

    address14[country]

     

    Thanks

  • AmSteve
    Replied on September 9, 2015 at 1:01 PM

    Correct - am trying to process submitted values on the Custom Thankyou page.  Thanks for the pointer to the How To Use.... page. It would be interesting to see how C#/asp.net users deal with this sort of postback.

  • Welvin Support Team Lead
    Replied on September 9, 2015 at 2:49 PM

    You're welcome.

    We have Webhook API: http://www.jotform.com/help/245-How-to-Setup-Webhook-with-JotForm. We support C# there (http://api.jotform.com/docs/). If you need some help with API settings, you can contact our API team at api@jotform.com

    Thanks

  • AmSteve
    Replied on September 9, 2015 at 2:59 PM

    Thanks - I've been using the WebHook API. The thing I'm trying to do with the Thank You URL that I don't think i can do with the WebHook is this:

    When the user submits the JF that's embedded in my site, the Thank Page resumes the user's original session. The webhook is able to hit my server and perform server-side operations (great and thanks for it) but I'm not understanding how I can render any results to the end-user. Webhooks seem to be server-side only.

     

  • Welvin Support Team Lead
    Replied on September 9, 2015 at 4:42 PM

    We basically require PHP to achieve this as originally mentioned in the given guide and as we mentioned to this guide: http://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page.

    But you can use Webhook for different language programming such as C#. I think our API team can help you for that. 

    Thanks