creating custom PHP thank you page

  • brayoeh
    Asked on September 13, 2017 at 7:57 AM

    please assist me on how to create custom php thank you page that catches full names only

  • TREVON
    Replied on September 13, 2017 at 10:52 AM

    To be able to create custom thank you php first you need to have your php file hosted in a server somewhere. Once you have this then you can follow the guide below on how you can setup a custom thank you PHP: https://www.jotform.com/help/213-Send-Submission-Data-via-Post-Method-and-Thank-You-Settings

    Below is a sample code I have used form my php thank you page.

    <HTML>
    <body>

    <?php

    $firstname = $_POST[fullname54][0];

    $surname = $_POST[fullname54][1];
    ?>

    <p style="text-align: center;"><img src="https://cdn.jotfor.ms/img/check-icon.png" alt="creating custom PHP thank you page Image-0" width="128" height="128" /></p>
    <div style="text-align: center;">
    <h1 style="text-align: center;">Thank You!</h1>
    <p>

    <?php
    Print "$firstname $surname";
    ?>

    </p>
    <p style="text-align: center;">Your submission has been received.</p>
    </div>



    </body>
    </HTML>