- taldAsked on July 11, 2016 at 12:00 AM
I want to pass the source for an image as a url parameter to the form. I would like the image field to present that image (from the url provided).
For example when I use this to access my form
I want the image field to present this image. How do I do that?
- JotForm UI DeveloperberilAnswered on July 11, 2016 at 05:53 AM
Yes, it is possible to upload your image to your form as you see below:
If you have any question or issues, please do not hesitate contacting us. We will be glad to assist you.
- taldAnswered on July 31, 2016 at 03:21 PM
I think you misunderstood what I need. I have a Shopify store, and as part of the process a customer will upload an image. At that point I call your form from Shopify and I need to be able to supply the image url as a GET parameter when calling the JotForm url. This means that it should be part of the JotForm url as it is different every time the form is loaded. The JotForm form will need to populate an image field in the form with that image url.
- JotForm SupportNik_CAnswered on July 31, 2016 at 04:37 PM
You can prepopulate the fields by using our Prepopulate fields via URL method, if I understood you correctly you will "make" the URL on Shopify's side and then use that URL to show the JotForm form. If that's the case you should be able to make a URL with the method above, if you are able to get the URL for each image(on Shopify's side) and then make the JotForm URL with it that will later prepopulate certain fields in JotForm.
Basically, your URL should look like this(for example): https://www.jotform.com/61684736747268?imagefield=www.imageurl.com.
Hope it helps, and I'm sorry if I misunderstood your question.
- taldAnswered on July 31, 2016 at 06:08 PM
Thanks for the quick response! I actually want to use the method to prepopulate an image field. I think the link you provided only explains how to prepopulate other types of fields but not image fields.
- JotForm SupportChriistianAnswered on July 31, 2016 at 10:22 PM
Unfortunately it is not possible to pre-populate an image field with a URL from your shopify page. Image fields can only display images that have been uploaded through the form builder. It cannot show an image based on a link that was passed from another page. The only workaround I could suggest would be to pass the link to a textbox just like in your example. The user will have to copy the link and view it on their browser.
Please let us know if you need further assistance.