- LeslieCoeAsked on November 13, 2017 at 02:37 PM
In the query string we are passing a value that should pre-populate a field. It was working before but is not working now. Did something change? Any suggestions on what to check?
- JotForm SupportNik_CAnswered on November 13, 2017 at 02:53 PM
Could you please give us more information about the link, like in which form are you using it and where?
So we can have a closer look.
We'll wait for your response.
- LeslieCoeAnswered on November 13, 2017 at 03:00 PM
Here is the form: https://form.jotform.com/40897642244158. It's embedded within an orientation. The orientation part is working.
It's the Return URL field. Usually it's hidden so users don't see it but it's not filling it in and "Sorry, unable to determine your entry point."
Hope this helps.
- JotForm SupportMike_GAnswered on November 13, 2017 at 03:32 PM
We would like to apologize for any inconvenience. If I'm understanding your concern correctly, the field, "Return URL" in the form you shared with us should be prepopulated. May we know how is it being prepopulated, please? I checked the form and I did not see any condition that will automatically fill that field on form load. Perhaps it is prefilled from another form submission?
Also, as for the redirect-to-page you set that is resulting to — "Sorry, unable to determine your entry point.", if I'm understanding it correctly it lacks something that should come from the Return URL field, is that correct?
May we ask for you to clarify the process in your form so we can further test it, please?
We will wait for your response.
- LeslieCoeAnswered on November 13, 2017 at 05:03 PM
We are passing the Return URL in the query string. This did pre-populate the field before and now it no longer does. We have not made any changes on our end.
For the redirect, I found out that is on our end so no need to find a solution on your end for that. The above is the biggest issue.
- JotForm SupportKevin_GAnswered on November 13, 2017 at 07:07 PM
I have further inspecting your form and noticed that the "Return URL" field is hidden:
Seems like you're filling this field from another source since there is nothing on the form that fills such field. Also, your form is currently clearing hidden fields so this may be why you're receiving it empty, please turn off that option on the form settings section:
I would also like to share you the link to a widget that serve for the same purpose of your field, but nothing else is required than add the widget to the form, it will be automatically hidden and capture the URL where the form has been submitted from: https://widgets.jotform.com/widget/get_form_page_url
This other allows to know the form referrer: https://widgets.jotform.com/widget/get_referrer
I hope this helps.
- LeslieCoeAnswered on November 14, 2017 at 01:36 PM
That did not work.
Here is what we have figured out:
1) Passing parameters via the browser works. Eg. http://form.jotform.us/40897642244158?personId=12345&email=me%40example.com&returnUrl=http%3A%2F%2Fwww.example.com works fine.
2) Passing parameters via a script call has stopped working. E.g. the following html page will load the form but the fields will not pre-populate:
Note that method #2 has been working in the past and sometime in the past month it has stopped. This is for ANY of our forms, not just this one. Also, for simplicity and testing, we have unhidden the fields.
Have any changes occured on your end that would have caused method #2 to stop working?
- JotForm SupportdavidAnswered on November 14, 2017 at 03:00 PM
I do not believe there has been any updates that would change the functionality of populating fields in script embedded forms via URL parameters.
Generally, I recommend using an iFrame if you want to use URL parameters.
<iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotformpro.com/form/40897642244158?personId=12345&email=me%example.com&returnUrl=http%3A%2F%2Fwww.example.com" frameborder="0" style="width:100%; height:465px; border:none;" scrolling="no"></iframe>
Though using the script embed code should still function. Let us know the URL of your page and we will take a look.
- LeslieCoeAnswered on November 14, 2017 at 03:24 PM
First you need to go here:
Once you see the "Welcome" page, you then go here for the JotForm:
- JotForm SupportKevin_GAnswered on November 14, 2017 at 03:58 PM
I think using the page's link and passing the data there should work, example:
Alternatively, you may use the iFrame code as suggest by my colleague above.
I hope this helps.
- LeslieCoeAnswered on November 14, 2017 at 04:03 PM
Thanks for the alternative suggestions. This does not explain why things stopped working. Unfortunately, we are not at a point where we can make those adjustments you suggest as quickly as we would like.
We are curious why the method we haved used for the last few years which worked seamlessly no longer works. Any indication what may have changed on your end?
- LeslieCoeAnswered on November 14, 2017 at 04:30 PM
Thank you. Even this change is difficult for us. We have confirmed that things were working as of 11/10/2017 (last Friday) so it looks like it is a recent change on your end. Any timeframe of when you will have the issue fixed?
- JotForm SupportMike_GAnswered on November 14, 2017 at 04:50 PM
I would like to apologize for any inconvenience. I understand your situation, unfortunately, I'm afraid I cannot provide any timeframe for when the issue with the "form" subdomain will be fixed. However, please be assured that once we hear an update from our development team, we will surely notify you in this thread right away.
- Chief Technology OfficereeeAnswered on November 16, 2017 at 10:46 AM
We fixed the problem two days ago, do you still experience the problem?