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

    queryString not being submitted

    Asked by kshaughnessy on January 18, 2012 at 08:00 PM

    I have a webpage that includes a queryString and my jotform is supposed to populate a hidden field from one of the queryString parameters, but it isn't working. this used to work but admittedly it has been a few months since this form was used.

    here is a url: http://www.kseansportsphotography.com/Wallhogs/WallhogOrderForm/18950197_DnW29W?albumId=20944757_dfPjZh&imageid=1663920670_QHdBS9M

    notice the "imageid" parameter. my jotform has a hidden field called "imageid" that is supposed to contain this value.

    the url to my jotform is: http://www.jotform.com/?formID=12344744707

    thanks.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on January 18, 2012 at 08:30 PM

    Passing querystrings to an iFramed document will not work that way. The querystring must be appended to the form's URL found in the iFrame codes.

    Also, the hidden field's name in your form is imageid27 and not imageid. Actual field name is different from field label.

    The form should be embedded like this:

    <iframe allowtransparency="true" src="//form.jotform.com/form/12344744707?imageid27=1663920670_QHdBS9M" frameborder="0" style="width:100%; height:1910px; border:none;" scrolling="no">
    </iframe>

    If you'd like the querystrings for imageid to be passed together with the other parameters in your webpage's actual URL, then you must embed the form using full source codes, so it becomes essentially a part of the page and not just an iFramed document.

    To get your form's source codes

    1.  Click Setup & Embed tab
    2.  Click Embed Form button
    3.  Choose Source option



    4.  Copy the codes provided in the succeeding screen

    Hope this answer solves your issue. If you have follow up questions, please feel free to ask. Just make sure that your follow up questions are related to the original topic. Otherwise, open a new thread for it.

  • Profile Image

    Answered by kshaughnessy on January 18, 2012 at 09:30 PM

    Thanks. I had changed this form a while back and broke this feature. I followed your advice and it is now working.