Post Data not working

  • InspiredMedia
    Asked on November 5, 2014 at 9:51 AM

    Hello,

     

    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][0]);

     $var2 = "&q9_name9[last]=".urlencode($answers[q9_name9][1]);

     $var3 = "&q3_email=".urlencode($answers[q3_email]);

     $var4 = "&q4_phone4=".urldecode($answers[q4_phone4]);

     $url2 = $url1.$var1.$var2.$var3.$var4;

     header("location:$url2");

     

    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.

  • Kiran Support Team Lead
    Replied on November 5, 2014 at 11:21 AM

    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.

    http://www.jotformpro.com/form/43084263576964

    You can see the code of the redirected/form values printed page here

    http://pastebin.com/grd5YTwj 

    Let us know if you need further assistance. We will be happy to help.