Values not passing with PHP redirect

  • Profile Image
    chartcapture
    Asked on May 20, 2012 at 11:33 PM

    I followed your instructions in the following thread to pass values from one form to the next:

    http://www.jotform.com/answers/24995-Can-a-form-be-pre-populated-with-data-from-a-previous-submission-just-moments-ago

    I have 2 forms and want to pass some of the fields from form 1 to form 2 (since form 2 will be optional). I enabled HTTP Posting, and created the interim PHP page per your instructions. Here are the detailed forms/pages:

    Form 1: http://form.jotformpro.com/form/21338930254956

    Form 2: http://form.jotformpro.com/form/21408356039957

    PHP URL: http://ccformtools.zxq.net/FreeForm_PassThru.php

    When you submit form 1 the redirect works fine and results in form 2, but the values are not being passed to the new form. This is the resulting URL (from the PHP script):

    http://form.jotformpro.com/form/21408356039957?specialty=&emrSystem=&howLong=&appliedFor=&numberOf=&howMany=&postcardCode=

    I checked all of the field names and the appear to be correct. But the values just aren't passing over. 

    One other thing ... I am embedding form 1 in my standard HTML layout. That form is displayed using http://chartcapture.com/free.  I would like the 2nd form to also be embedded with the same HTML format. Is there any way to accomplish that using the PHP post method?

  • Profile Image
    liyam
    Answered on May 21, 2012 at 04:04 AM

    When using the post data method, you will receive the submitted data via array.  Have you tried following the instructions on this user guide?

    Doing a prepopulation using URL parameters is using a GET data method so this is actually different from the post method being used by the Send Post Data feature.

  • Profile Image
    khrisell
    Answered on July 04, 2013 at 07:25 PM
    Greetings!

    We are happy to announce that we have released Jotform Webhooks,  this feature would replace Send Post Data + Custom URL Thank You Page workaround in order to help you transfer forms data to your own database using your own script codes.

    To know more about Jotform Webhooks, please click here.

     

    Thank you for using JotForm. :)