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.


  • Profile Image

    I am trying to pass an email address as a URL variable

    Asked by ciscoadler on October 25, 2015 at 01:48 PM

    When I try to pass an email address as a variable to another form on my Wordpress site the data passes but strips out the @ symbol. I think this is a URL encode related issue but I'm not certain and not sure how to create the correct format.

    The first form is at the bottom of this page: http://ppcstud.com

    The second form is here: ppcstud.com/thank-you/

    In the second form, I am not showing the email field because it is not necessary for the user to see it again.

     

    Thanks for the help!

     

    Page URL:
    ppcstud.com/thank-you/

    email URL variable pass a
  • Profile Image
    JotForm Support

    Answered by Kevin_G on October 25, 2015 at 06:47 PM

    Hello ciscoadler,

    You can take a look to this guide :

    http://www.jotform.com/help/213-Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page

    I've cloned your form and made some changes,here is my example : 

    https://form.jotform.com/52977277300965

    This is that I've made,you can  follow these steps :

    1.Go to the top tool bar and click on Preferences:

    2.In Advanced Settings, change  the Send Post Data field  from No to Yes:

    Now, you will be able to get the data in your Custom Tank You Page,you should write just the link without any variable, and in the page you are redirecting can use this PHP code to display the email, and you will be able to use it as you need:

    <?php echo $_POST['clickto'] ?> 

    I hope this helps.

    If you need more help related to this topic, please let us know and we will be glad to help you.

    Regards.