- kshaughnessyAsked 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
- JotForm SupportNeilVicenteAnswered 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">
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.
- kshaughnessyAnswered 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.