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

    Form POST Data to Other HTML Page

    Asked by linqdigital on May 18, 2015 at 03:40 AM

    Hi

     

    I'm unable to get Form Data on Lead Confirmation Page. I've referred to Jotform User Guide and Forum for POST Method and Redirect PHP technique but could not resolve. Can you tell me where I am going wrong

    Form: TRIAL

    FORM URL: http://www.linqdigital.com/download/BML/Testlead.html

    Custom Redirect URL: http://www.linqdigital.com/download/BML/redirect.php

     

    Redirect Script Below

    <?php 

    $answers = $_POST;

     $url1 = "http://www.linqdigital.com/download/bml/leadsuccesspg.html"; // This is the URL address of the custom web page

     $var1 = "?Name=".urlencode($answers[fullName3]);

     $var2 = "&{emailAddress}=".urlencode($answers[emailAddress]);

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

     header("location:$url2");

    ?>

    Page URL:
    http://www.linqdigital.com/download/BML/Testlead.html

    POST post data JotForm name form data
  • Profile Image

    Answered by Sammy on May 18, 2015 at 07:37 AM

    The issue lies with the way you are calling the indexes of the $_POST data

    $answers[fullName3],$answers[emailAddress] you need to enclose the index key names in quotes

    $answers['fullName3'],$answers['emailAddress']

    Kindly correct the above then revert back with the outcome

    Thanks

  • Profile Image

    Answered by linqdigital on June 15, 2015 at 08:49 AM

    Hi

    I am unable to POST data after submitting values to Jotform Custom URL for ThankYou Page.

    Form Name: BML Munjal UG

    Form URL: http://linqdigital.com/download/bml/formUG.html

    Redirect URL: http://linqdigital.com/download/bml/redirectug.php

     

    I had come across this problem earlier but it got resolved by Jotform team.

  • Profile Image

    Answered by Sammy on June 15, 2015 at 10:23 AM

    Hi,

    Have you confirmed that the post data in the custom PHP page are enclosed in quotes. Kindly verify that the field names within the post are enclosed in single or double quotes.


    You can also provide a sample of the post data similar to the previous one you had submitted earlier for further examination.

  • Profile Image

    Answered by linqdigital on June 16, 2015 at 01:07 AM

    Hi Sammy

    Thank you for the response.

    I have used Single Quotes and Double Quotes as well as no Quotes to give a try (source code attached). But it did not result in data posted. I reckon this was the same problem I faced earlier but it was resolved automatically after posting this Question on Jotform support.

    I checked with www.jotform.com/show-post-data but it displayed 'No Data Posted...'

     

    I have test form running which is working absolutely fine. http://www.linqdigital.com/download/BML/Testlead.html 

     

    Redirect Code below

     

  • Profile Image
    JotForm Support

    Answered by Welvin on June 16, 2015 at 06:52 AM

    Your redirect code have failed to appear in this thread. Please use http://pastiebin.com/ and share us the pastie link so we can check it.

    Thanks

  • Profile Image

    Answered by linqdigital on June 16, 2015 at 07:55 AM

    Hi

     

    Thank You Welvin and Sammy for responding back to my query. Just couple of minutes back the problem got resolved without me making any changes. Someone again from Jotform must have troubleshoot and rectified the problem without dropping a message. Thank him as well.

     

    Regards,

    Jigar

  • Profile Image
    JotForm Support

    Answered by Boris on June 16, 2015 at 10:17 AM

    On behalf of my colleagues, you are kindly welcome.

    As I don't think that anyone has worked on the issue without reporting back to you on this thread, the temporary issue might have been caused by a simple caching issue. 1. Perhaps your browser still had the old page in its cache, and it resolved itself when your browser made a new load, or if you have cleared your cache in the mean time. 2. Perhaps it was caused by our form cache, which acts similarly to browser cache, and is refreshed periodically.

    This might be a simple advice for the future, but I would advise you to try clearing your form cache, as well as clearing your browser cache, when you make some page changes which don't seem to work correctly for no apparent reason.

    Please let us know whenever you need any help with your forms, as always, we are happy to assist you. :)