Help with a calling up an embedded form and prepopulate a field within my site.

  • abennet4
    Asked on December 6, 2015 at 8:28 PM

    Form  -  

    https://form.jotform.com/53396874054970

     Field Name {nameOf42} Name of Child = "BETTY"

     

    Would like text on a page similar to this: "Click here to sponsor Betty."

     

    I've been doing this successfully with this script but I changed my form to PayPal Pro.

    a href="javascriptDISABLED:void( >> Click here to sponsor Betty

    (removed the "< >" so this would not run which it did every time to opened this to edit)

    Could not get this code to work by replacing the Http: call.

  • Ashwin JotForm Support
    Replied on December 7, 2015 at 1:04 AM

    Hello abennet4,

    I am not sure if I have understood your question correctly. Please explain your requirement a bit more in detail and we will surely help you.

    How are you trying to prepopulate your form fields? Please share a sample code and we will take a look.

    We will wait for your response.

    Thank you!

  • abennet4
    Replied on December 7, 2015 at 9:32 AM

    sorry - lets try again

    Upon clicking on a text string on our web site I wish to open http://www.sonriseministriesinc.org/sponsor-children

    which contains http://www.jotform.com//?formID=53396874054970     

    and pre-populate the drop down field {nameOf42} Name of Child with a value that exists in the drop down.

     

    for instance:  CLICK HERE TO SPONSOR "Andrew_Serugo"

    this opens - http://www.sonriseministriesinc.org/sponsor-children

    which contains embedded form  http://www.jotform.com//?formID=53396874054970

    and pre-populates the Name of Child field with "Andrew_Serugo"

     

    can you help with the code that drives the linkable text to start this?

     

  • Mike
    Replied on December 7, 2015 at 10:58 AM

    Please try pre-population with the following link example:

    http://www.sonriseministriesinc.org/sponsor-children?nameOf42=Andrew_Serugo

    Thank you.

  • abennet4
    Replied on December 7, 2015 at 11:41 AM

    thank you!  works like a charm

  • Ashwin JotForm Support
    Replied on December 7, 2015 at 11:58 AM

    Hello abennet4,

    On behalf of my colleague, you are welcome. 

    I am glad to know that your issue is resolved.

    Do get back to us if you have any questions.

    Thank you!

  • abennet4
    Replied on September 14, 2017 at 7:25 PM

    can I populate this same field using the lightbox code?

  • Mike
    Replied on September 14, 2017 at 8:39 PM

    Yes, it is possible with the lightbox embed code too, please follow the next guide:

    Adding parameters in Lightbox and Feedback forms