JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
How can I modify an image field source?Asked by tald 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?
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.
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.
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.
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.
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.