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 can't see Post data in my php Thank You Page

    Asked by ampercorp on December 19, 2016 at 03:36 PM

    Hi,

    I can't see the "show-post-data" variables in my new php thank you page.

    I've already move the preferences (Send Post Data= Yes) but still not working.
    Even when i try with "Redirect to external link= https://www.jotform.com/show-post-data" doesn't works.

    Could you please help me?

    Tank you! 

  • Profile Image
    JotForm Support

    Answered by AIDAN on December 19, 2016 at 03:47 PM

    I assumed you are talking about your form "AMPER: REGISTRO PRESENCIAL - Nuevo Registro" and I examined it.

     

    Indeed, you are correctly enabling send post data, and I see that you have a custom php page as the thank you page.

     

    Could you please share with us the relevant bits of this php script? The code section that you are using to retrieve the post data, so we can inspect it.

     

    Thank you in advance.

  • Profile Image

    Answered by ampercorp on December 19, 2016 at 04:45 PM
    Correct, i'm working on AMPER: REGISTRO PRESENCIAL - Nuevo Registro.
    This is what i'm using:
    <?php
    $_POST['nombreCompleto'];
    $_POST['correoElectronico'];
    $_POST['celular6'];
    $_POST['monto'];
    ?>
    Also i attached my original PHP in this mail, maybe it could be easier.
    Tanks again!
    2016-12-19 14:47 GMT-06:00 JotForm :
    ...
  • Profile Image
    JotForm Support

    Answered by AIDAN on December 19, 2016 at 05:03 PM

    You're quite welcome!

     

    Okay, I couldn't see the file you attached, but I can see the problem from the PHP snippet you posted in your reply.

     

    The instructions you have, do not tell PHP to print anything to the page, and this is why you see nothing.

     

    To print these variables to the webpage, you may use echo or print() as documented in http://php.net/manual/en/function.echo.php and http://php.net/manual/en/function.print.php respectively.

     

    Please let us know if you need further assistance.