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

    POST Data fileds for Names and Date/Time Values

    Asked by nickbh on October 22, 2015 at 05: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

     

     

    Screenshot
    POST post data values php variable names
  • Profile Image
    JotForm Support

    Answered by jonathan 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.