- godavid33Asked on March 06, 2014 at 12:15 PM
Title is pretty self explanatory but here's a breakdown:
Get email and send user to second form on submission, populating the url with the email field value
Read email parameter from URL and place it in the email field for FORM 2
The email parameter is always passed to the URL as testtest.com instead of firstname.lastname@example.org. I can manually add the ampersand and it works fine, so it's not a problem with URI encoded entities. Suggestions?
- JotForm SupportjonathanAnswered on March 06, 2014 at 02:17 PM
Can you please share to us the form that have this issue? We will test the form.
I also created a test form here http://form.jotform.me/form/40645492992465? which you can test.
Using my test form, I am not able to reproduce the issue you mentioned.
The target form was able to properly capture via the URL parameter the correct e-mail value passed from the previous form.
The target form URL becomes like this http://email@example.com when I test submit the test form using 'firstname.lastname@example.org' as the test e-mail address.
Inform us if you need further assistance.
- godavid33Answered on March 06, 2014 at 02:21 PM
- godavid33Answered on March 06, 2014 at 02:29 PM
Are both of your forms embeded using source code? Both of my forms are mbedded, one using an iframe the other using the source code.
- EliezerNAnswered on March 06, 2014 at 03:53 PM
Thanks for providing the URL of your form.
No, the forms of my colleague are not embedded, those are the standalone version of the forms. And I can confirm that I was not able to reproduce the issue either.
So, I also tested your forms, especially the second one. http://www.jotformpro.com/form/40615681488967
It seems that the second form is the one that is giving the issue. I don't think the cause of the issue is the way you have embedded the form, as I also took the source code of your second form, embedded it in a html document and tested it. But it worked with no issues, it included the @ symbol:
So, it is most likely thatthe changes you applied to the form using the source code are affecting the behavior of the populating process, it prevents the symbol @ to appear.
Could you please try embedding again your form source code, but without changing anything at this time? Then elaborate the workaround to pass the email value to the form. That way we will make sure if the changes you have made have something to do.
We will wait for your reply.
- godavid33Answered on March 06, 2014 at 04:19 PM
To be honest I made no changes. Just copied the straight source code. The reason Im using the source code as opposed to the Iframe or object embed is because the GET parameter wasn't even being recognized at all unless it was embedded as source code.
- JotForm SupportTitusNAnswered on March 06, 2014 at 05:17 PM
Thank you for the update.
The @ symbol is being removed because your page http protocol is correcting the URL.
You need to put the correct URL in you thank you page redirect.
I did a series of tests, then discovered its the forward slash that is missing:
Just add that in as shown above, and the querystring should deliver the correct email value -
My variables might look a little different from yours in the screenshots- ignore that, just add the forward slash (/) in your redirect URL as shown.
Did that help? Let us know.