How can I prepopulate a form from a link on my website to an embeded (using script) form located on a different page of my site?

  • Profile Image
    sacdesigner
    Asked on March 30, 2011 at 05:28 PM

    I would like to prepopulate my form from links on a page of my website. But the form I need to prepopulate is embedded on a different page of my website using the embed script option. So it wouldn't be a direct link to the form I want to prepopulate? Please help!!!

  • Profile Image
    liyam
    Answered on March 31, 2011 at 01:49 AM

    Hello,

    You can use a URL parameter approach for this. This will still work as it is embedded on the parent webpage.  Just find the name of the fields you wish to have prepopulated.

    I'm assuming also that you have knowledge about URL parameters. You can try this sample link on your page and check for your self how your Request a Custom Design form gets prepopulated:

    http://www.jolzy.com/signup.html?fullName=test%20test&haveYou[]=Yes

    If you need help in understanding URL parameters, please let us know.

    Hope this helps.

  • Profile Image
    sacdesigner
    Answered on March 31, 2011 at 03:08 AM

    Thank you for your help... I believe I got it now... Will this also work for my other form on the same page that contains pagebreaks? Or does having the pagebreaks not an issue when passing data to the form to prepopulate a question which is located on the second "page" if you will... of the form?

     

    Once again thank you for your simplified instructions... I totally get it now!! :)

  • Profile Image
    NeilVicente
    Answered on March 31, 2011 at 10:00 AM

    Hi,

    Having pagebreaks on your form will not affect the prepopulated value because these "pages" are all automatically loaded once the form is called by your browser. The "pages" are only hidden by a script which is also responsible for displaying them via the Next and Back buttons. Take a look at this form for example

    https://www.jotform.com/form/10862046099?what=nothing

     

    Hope you find this information useful.

     

    Regards,

    Neil