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.
Passing email from one form to another missing the at symbol (@)Asked by godavid33 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 email@example.com. I can manually add the ampersand and it works fine, so it's not a problem with URI encoded entities. Suggestions?
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://firstname.lastname@example.org when I test submit the test form using 'email@example.com' as the test e-mail address.
Inform us if you need further assistance.
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.
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.
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.
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.