Sending and grabbing data from a different form

  • Profile Image
    LegalMe
    Asked on March 17, 2013 at 05:51 PM

    Hello.

    I've been playing with the Save & Return feature using the 2 forms method. I have also used the redirect from the first form to the main form and pre-populated the email field from the first form. However, I am unable to get the fullName field pulled in from the first form.

    The end of my url looks like this: /30698395985173?session={email4}&email14={email4}&fullName13={fullName3}" > (I had to use the _parent otherwise I get a webpage inside of a webpage. Is that normal?)

    The email works but the fullName doesn't. That is the "combo" field where the user enters both first and last name. Is this possible with this field? If so, what am I doing wrong here?

    That being said, I will have 2 other forms following this main form that the user will fill out in intervals. Is it possible to pre-populate fields in these follow up forms from the main form without sending parameters in a url? So when the user loads up form #2 in the series, how can some of the fields be pre-populated? I assume we need some kind of trigger?

    On top of that, I would like to use the existing data in the main form for conditional logic in the next 2 forms. If we can prepopulate the new fields from existing data, can we then use it for conditional logic without a radio button or check box being pushed(trigger)?

    Thanks for all your help.

  • Profile Image
    jonathan
    Answered on March 17, 2013 at 07:18 PM

    Hi,

    I have experience your scenario before. And I learned that session state does not work together with GET method or pre-populated URL.

    This is the reason why your 2-step form could not work  --  /30698395985173?session={email4}&fullName13={fullName3}"

    If you use only session it will work  -- /30698395985173?session={email4}

    OR

    if you use only pre-populated URL paramater, it will work  -- /30698395985173?fullName13={fullName3}"  . The combo fullname field should be separated by first/last i.e. fullName[first], fullName[last] . Check this thread for similar explanation.

    --

    To overcome this limitation, you can try the method explained on this guide 

    -Send-POST-Data-From-JotForm-Using-PHP-in-Custom-Thank-You-Page

    This is also a multi-step form. You can use the session for email on 1st form, and upon submit, the PHP code will pre-populate the 2nd form.

    Hope this help. Please inform us if you need further assistance about this.

    Thanks.