Embedded Forms: Not populating a question via URL Parameter

  • alearned
    Asked on June 21, 2024 at 8:50 AM

    Hello! I have a follow-up question from a chat support I had yesterday. Basically, I'm trying to get the {{ center }} info to pre-populate on my website inquiry forms. Yesterday, support helped me use my website url to complete the form: https://gradepowerlearning.us/valrico/?center=Valrico

    I wrote some code to automatically add the tag to my subpages. It doesn't seem to be working though, some of the forms on the site are not loading with the {{ center }} info.


    If we can get that working, I'm good. Though, I also wanted to explore my embed links directly. The popup's code is:

    <script type="text/javascript"rc="https://form.jotform.com/jsform/241553505846055"></script>

    I can't add the "?center=Valrico" in it I don't believe. Is there another way to "force" the info to the form that I'm not thinking about?


    Thanks for any help you can offer!


    -Andrew

  • Sonnyfer JotForm Support
    Replied on June 21, 2024 at 8:58 AM

    Hi Andrew,

    Thanks for reaching out to JotForm Support. As I understand, you're trying to prefill your embedded form URL Parameter. I tested your embedded form and see that it's properly populating the question "Center" in your existing popup code. Check out my screenshot below to see what I mean:

    Embedded Forms: Not populating a question via URL Parameter Image 1 Screenshot 20

    Can you try it again and see how it goes? If that’s not exactly what you’re looking for, can you explain a bit more, so I can help you better?

    Let us know if you need any more help.

 
Your Answer