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.
Post Data not workingAsked by InspiredMedia on November 05, 2014 at 09:51 AM
I have followed several directions and examples on your forum with no luck. Simple I am trying to POST user submitted data from my form Post Test data to a custom Thank You Page. None of you examples clearly explain how to do this. Some say use web hook with I did but could not get my data to display and other say use Post Data on the form.
I just tried the post data using one of your examples scripts:
$answers = $_POST;
$url1 = "http://investview.webinarprophet.net/posttest1/"; // This is the URL address of the custom web page
$var1 = "?q1_name[first]=".urlencode($answers[q1_name]);
$var2 = "&q9_name9[last]=".urlencode($answers[q9_name9]);
$var3 = "&q3_email=".urlencode($answers[q3_email]);
$var4 = "&q4_phone4=".urldecode($answers[q4_phone4]);
$url2 = $url1.$var1.$var2.$var3.$var4;
I have replaced the data with my fields and added the url to the custom thank you page. The script errors out saying too many redirects. This should be a very simple process. I am sure other paying subscribers are having similar issues.
I've cloned your JotForm and made some corrections to post data code. Please check the demo JotForm below if it works for you. Here I've printed the form values directly on the page.
You can see the code of the redirected/form values printed page here
Let us know if you need further assistance. We will be happy to help.