POST Data fileds for Names and Date/Time Values

  • nickbh
    Asked on October 22, 2015 at 5:41 PM

    Hi,

    I am trying to use the post data values in php scripts.  Some are coming through correctly, however I am having trouble refrencing the fields components that are split.  eg name or dates.

     

    MY PHP is

    $_POST['leadname[first]'];

    $_POST['leadname[last]'];

    for the name (see pic).

     

    I have the same problem for the dat/time fiels.

     

    My question is how do i refernce the subfields within the fields. eg for time>

    $_POST['mydatetime[month]'];

    $_POST['mydatetime[day]'];

    $_POST['mydatetime[year]'];

    $_POST['mydatetime[hour]'];

    $_POST['mydatetime[min]'];

     

    Thanks

     

     

    Jotform Thread 688037 Screenshot
  • jonathan
    Replied on October 22, 2015 at 11:03 PM

    To get the PHP variable names and code set this URL http://www.jotform.com/show-post-data/  as the target URL in submission.

    Follow this user guide: -How-to-Post-Submission-Data-to-Thank-You-Page

    You can test submit this form http://form.jotformpro.com/form/41681400676959 to see how it works.

    Let us know if you need further assistance.