What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Passing Data via QueryParameters

    Asked by Kevin on August 22, 2011 at 04:57 PM

    I want to create a page on my SmugMug site that embeds a JotForm to allow my customers to order certain products from me. The way I envision it working is as follows:

    1. Customer locates a photo on my site that they like. According to the SmugMug architecture this photo has 4 unique data items that identify it.

    2. The clicks a button indicating they want to buy a framed print of this photo.

    3. They are taken to a page with a JotForm embedded into it. This form allows them to specify the size of the print and other optional information. However, at this point I need the 4 unique identifiers of the photo so I know what photo the customer wants. These data items should be hidden but need to be sent to me when the user submits the JotForm.

    The button that the user clicks in step #2 will have these 4 identifiers in it as part of the query string in the URL. Will it be possible for me to retrieve them at run time into 4 hidden fields on a JotForm? If so, how would I do that?

    Thanks.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on August 23, 2011 at 03:20 AM

    Hi Kevin,

    This sounds plausible but we need more information so we can assist you better. Would it be possible to show us a sample of this photo on your site, preferrably one that has a JotForm linked to it?

    We'll await your response. Thanks!


    Neil

  • Profile Image

    Answered by kshaughnessy on August 23, 2011 at 11:37 AM

    You can check out my site:

    http://www.kseansportsphotography.com

    Any of the photos there are candidates.

    I do not currently have any JotForm integration in my site - I am looking into adding it if I can do what I want: pass variables from a button click URL to fields in an embedded JotForm.

    Last night I think I found my answer on your site, but today I can't find it :(

    There was some page on your site that showed how to fill textareas, checkboxes, etc from URL parameters. I can't find that page now but it had instructions on how to name fields, etc.

    Would you know what page that is?

  • Profile Image

    Answered by kshaughnessy on August 23, 2011 at 01:26 PM

    It took me 2 hours but I finally found the page I was referring to:

    http://www.jotform.com/help/71-Prepopulating-the-fields-to-your-JotForm-via-URL-parameters

    This is exactly what I want to do, except that I need my prepopulated fields to be hidden. I'll give it a try but if you have any suggestions, please let me know.

    Thanks.

  • Profile Image

    Answered by brx250 on August 24, 2011 at 06:59 AM

    Hi there,

    Thank you for using JotForm.

    We're glad to know that you've found what you're looking for. If you ever need assistance, please feel free to contact us. Our team will be more than happy to help you with anything.

    _____________________________________________

    Albert   JotForm Support