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

  • Profile Image
    abennet4
    Asked on December 06, 2015 at 08: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 target="_blank" href="javascript: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.

  • Profile Image
    ashwin_d
    Answered on December 07, 2015 at 01: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!

  • Profile Image
    abennet4
    Answered on December 07, 2015 at 09: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?

     

  • Profile Image
    Mike
    Answered on December 07, 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.

  • Profile Image
    abennet4
    Answered on December 07, 2015 at 11:41 AM

    thank you!  works like a charm

  • Profile Image
    ashwin_d
    Answered on December 07, 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!

  • Profile Image
    abennet4
    Answered on September 14, 2017 at 07:25 PM

    can I populate this same field using the lightbox code?

  • Profile Image
    Mike
    Answered on September 14, 2017 at 08:39 PM

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

    Adding parameters in Lightbox and Feedback forms