Can someone give a quick, practical example on the code that needs to g

  • ninjas4christ
    Answered on November 04, 2011 08:48 PM

    Can someone give a quick, practical example on the code that needs to go on the test.php page. Just for the sake of the example, lets say I want it to read, "Thank you **NAME_FIELD** for signing up!" How would that look?

    Thanks so much!

  • ninjas4christ
    Answered on November 05, 2011 01:59 AM

    This is great!  Thank you so much!

  • campuszone
    Answered on September 10, 2012 06:37 AM

    for me its not getting,

     

    i redirected my page to https://pres.herokuapp.com/test1.php

    my form id http://form.jotform.me/form/22531837069457

     

    <?php

    print_r($_POST);

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

    $surname = $_POST[fullname][1];

    print "<p><p>";

    print " Thankyou $firstname $surname for signing up!";

    ?>

    it is only shownig

    Thankyou for signing up

    in my editor also " Thankyou $firstname $surname for signing up!"; is showing in same colour means colour is not changing for $firstname and $surname
  • idarktech
    Answered on September 10, 2012 08:07 AM

    Hi,

    Please replace your [fullname] to [fullname10] that should work. [fullname10] is actually the name of your fullname field. You can view it on the result. Example:

    Array ( [submission_id] => 213087863874118571 [formID] => 22533657838463 [ip] => 121.54.47.8 [fullname10] => Array ( [0] => JotForm [1] => Builder ) )

    Hope this helps. Thanks!

  • campuszone
    Answered on September 10, 2012 03:15 PM

    no it is comig as Thankyou Array for signing up!

  • NeilVicente
    Answered on September 10, 2012 03:30 PM

    @campuszone

    Use this instead:

    <?

    print_r($_POST);

    $fullname = $_POST[fullname10];

    print "<p><p>";

    print " Thankyou $fullname[0] $fullname[1] for signing up!";

    ?>

  • campuszone
    Answered on September 11, 2012 01:57 AM

    thankyou it's coming