Thank you page: Possibility to combine auto-redirect option in the Thank you page wizard

  • rwaldenjr
    Asked on October 6, 2017 at 3:08 AM

    I've been struggling to accomplish this Prepopulate technique so that my initial short registration forms (Form 1) can prepopulate my longer questionnaire forms. I've been learning and testing on my "Property Seller Inquiry Form" (Form 1), and my "Property Seller Interview Form" (Form 2). I think I finally have it working. And, it seems to be populating the Thank You email successfully. However, I'm having two problems:

    1.  I tried redirecting Form 1 to a prepopulated Form 2 after Submit, by adding the prepopulate URL to Form 2's "Settings|Thank You Page|Redirect to external URL" field. But, nothing happens when I click Submit, other than I keep getting the Thank You page. And,

    2.  I tried adding the prepopulate URL to the bottom of the Thank You email. It shows up correctly on the email when I click the Test message button. But when submitting an actual Form 1, the URL doesn't appear the email.

    Any ideas what I might be wrong?

    Thanks,
    -Robert

  • Ashwin JotForm Support
    Replied on October 6, 2017 at 4:51 AM

    I'm sorry for the trouble caused to you. 

    Which is the first form in your account? Is it "Property Seller Inquiry Form"?

    I did check this form but you have not set the custom thank you page URL correctly. Though you have selected "Redirect to external link" option but no URL is added. Please check the screenshot below:

    Thank you page: Possibility to combine auto redirect option in the Thank you page wizard Image 1 Screenshot 20


    I would suggest you to please edit your form and set the "Redirect to external link" to your second form's pre-population URL.

  • rwaldenjr
    Replied on October 6, 2017 at 10:00 AM

    I appreciate that seems like the obvious problem Ashwin. However, if you read my message closely, I've pasted the Form 2 prepopulate URL in that window you mention numerous times! For some reason, not sure why it won't stick!?!

  • rwaldenjr
    Replied on October 6, 2017 at 10:23 AM

    Oops, sorry Ashwin! I confused which form I was talking about from my troubleshooting.

    I tried the field you identified earlier, then abandoned it in my attempts to get this working when it didn't work. I pasted the prepopulate URL back in the Form 1 "Redirect to external link" field. But, it still isn't working. Either the Submit button fails to do anything, or if it does, I get a DNS error!?! Not sure what's going on. When I click the prepopulate URL by itself, it opens the desired form with the (dynamic) Form 1 name tags preloaded in Form 2's fields. What's the problem?

  • rwaldenjr
    Replied on October 6, 2017 at 10:37 AM

    Okay, after further troubleshooting, it seems the prepopulate URL adds an additional "https://" at the beginning of the link, which may explain the DNS error!?! Not sure why that's happening. I also notice that the only one of my form fields that my URL loads is the email address.

  • Kevin Support Team Lead
    Replied on October 6, 2017 at 11:59 AM

    Regarding the issue with the additional HTTPS added I would recommend you to add the link including the protocol, example: https://secure.jotform.com/71721807988166 

    I have just tested this and it seems to be working on my end. 

    Now, regarding the issue you're experiencing with the data not properly passing, I have also checked this and noticed that you are not properly capturing the data from the first form.

    This is currently how you have the link: Name[prefix]={name3[prefix]}&Name[first]={name3[first]}&Name[last]={name3[last]}&Name[suffix]={name3[suffix]} 

    However, it should be like this: Name[prefix]={name3:prefix}&Name[first]={name3:first}&Name[last]={name3:last}&Name[suffix]={name3:suffix} 

    Please note that this is the way how you capture the data from the submitted form and send it to the another one: 

    {address:addr_line1}

    {address:addr_line2}

    {address:city}

    {address:state}

    {address:postal}

    {address:country}

    And this is how you receive the data on the second form: 

    address[addr_line1]

    address[addr_line2]

    address[city]

    address[state]

    address[postal]

    address[country]

    Please apply the corrections to your form and let us know how it goes. 


  • rwaldenjr
    Replied on October 6, 2017 at 2:30 PM

    Thanks Kevin! That did the trick, and I'm finally getting Form 1 data to pass successfully to Form 2. (Whew! That trial and error process was painful!) Not quite sure why, but for some reason, all the reading of instructions didn't quite get me there, in terms of a specific How-to. Thank goodness your team has been willing to continue to guide me to the finished product!

    I still have a couple of questions, however:

    1.  I'm trying to add the URL to the Thank You page as well, as you can see in my Seller's Inquiry email. Unfortunately, the Thank You letter form doesn't seem to accept the entire prepopulation link; only the initial blank form part of the URL (before the "?"). Any ideas why, or how to resolve this? Is it even possible to do?

    2.  Is it possible to use the "Redirect to external link" option after an initial Thank You page response, or to include the link in the Thank You page?

    3.  I started getting a strange pop-up message that JotForm's pop-up is being blocked when I started testing these prepopulation submissions. Not sure what's causing them. I added "www.jotform.com" to Chrome's "Allow" list. But, its still happening.

  • Nik_C
    Replied on October 6, 2017 at 3:56 PM

    1) You're referring to Thank you page here:

    Thank you page: Possibility to combine auto redirect option in the Thank you page wizard Image 1 Screenshot 20

    Do you have a problem that the link is not showing at all or is it not showing upon submission?

    If you could enlight is here a bit more, please?

    2) Yes, you can, please check this guide: https://www.jotform.com/help/89-Create-a-Custom-Thank-you-page-with-Auto-redirect where you can create Thank you page and auto direct option after a certain time.

    3) Not sure, what you're referring to, is it possible you can share the screenshot by following this guide: https://www.jotform.com/help/438-How-to-Post-Screenshots-to-Our-Support-Forum

    We'll wait for your response.

    Thank you!

  • rwaldenjr
    Replied on October 6, 2017 at 6:13 PM

    HEY Nik! How's it going?

    1.  In regards to my previous Question #1, the link is not showing up in the email I receive from Autoresponder after form submission. If you look at the Thank You page template for my Property Sellers Inquiry form, you'll see that I entered Form 2's prepopulation URL at the bottom so that it would be a redundant location for access to the user's profile. All the data entries seem to be there. But, the form seems to be truncated after that.

    2.  For Question #2, the instructions you sent to redirect after a set period of time of viewing the Thank You page is just what I was looking for. Thanks!

    3.  And for Question #3, please find a screenshot of the error pop-up I've been getting (below) over my My Forms list. Not sure what's causing it, or when exactly that it occurs. Just noticed it when I began testing form submission yesterday.

    Thanks for your help!




    Thank you page: Possibility to combine auto redirect option in the Thank you page wizard Image 1 Screenshot 20

  • Kevin Support Team Lead
    Replied on October 6, 2017 at 7:48 PM

    Glad to know the second question has been resolved, you're most welcome. 

    Regarding your first and third questions, I moved them to separated threads, this is in order to assist you better and avoid confusion while working on multiple matters in the same thread. 

    We will help you as soon as possible here: 

    https://www.jotform.com/answers/1267131

    https://www.jotform.com/answers/1267132 

    Thanks. 

  • rwaldenjr
    Replied on October 6, 2017 at 8:19 PM

    Thanks Kevin -

    One thing I'm still unclear about on Question #2 in this thread:  I notice in the instructions for creating a "custom Thank You page with Autoresponder" (see Nik's link, above), it uses a script that's supposed to be uploaded to what reads like an external server!?! Does this mean that it can't be run from my JotForm account? If so, how do I accomplish that?

    And, is there anyway to use this script with the default JotForm "Thank You" page?

  • Kevin Support Team Lead
    Replied on October 6, 2017 at 10:02 PM

    No, unfortunately the JotForm thank you wizard will not allow such code and you will need to create an external file where the form will be redirected to. You could create the thank you message with your custom HTML code and then include the redirection code. 

    This cannot be done with the Jotform default page since for security reasons the builder does not allow custom JavaScript or other codes. 

    I hope this helps. 

  • rwaldenjr
    Replied on October 6, 2017 at 11:34 PM

    Well, now I know. And it seemed so promising! I'd like to make a feature request. You've already developed the Javascript code to make this feature happen. I'd like to suggest that your development team build the code into your JotForm servers so its part of the Thank You Page settings. Then, users would have the option of selecting a "Thank You" email, "Redirect to external link", or both from within the JotForm platform (for those of us who don't have an external server).

    Thanks!

  • Nik_C
    Replied on October 7, 2017 at 1:26 AM

    As requested I will forward this to our development team for a possible implementation. We cannot provide you an ETA for this request, but we'll inform you further through this thread if/when such feature is available.

    I must emphasize that there is a slight chance that this might not be implemented since it will require inserting script code in our Builder which we don't allow.

    Thank you for suggesting it.