Display an image in the form with a dynamic structure

  • AFPPE
    Asked on April 7, 2020 at 11:47 AM

    Hello, I would like to display an image based on a variable. For example, I have a fixed url structure, with a numeric variable : https://www.mydomain.com/images{number}.jpg 

     How can I display these images directly in the form? cordially

  • VincentJay
    Replied on April 7, 2020 at 1:14 PM

    I checked the link you shared and the page is not found. 

    1586279557czvdvd Screenshot 10

    Please share the correct link so we can check it further.

    I am just assuming that you want to draw or update the uploaded image. Please check this widget: https://www.jotform.com/widgets/draw-on-image

    Let us know if you need further help. Thank you.

  • AFPPE
    Replied on April 8, 2020 at 5:29 AM
    Bonjour,
    merci pour votre réponse. Ceci était un exemple et je suis certainement mal exprimé.
    En fait, j'ai une liste de fichier image stocké sur un serveur
    https://www.sejourpoitiers.fr/wp-content/uploads/2020/04/1.png
    https://www.sejourpoitiers.fr/wp-content/uploads/2020/04/2.png
    https://www.sejourpoitiers.fr/wp-content/uploads/2020/04/3.png
    Le nom du fichier est incrementiel par un numéro entre 1 et beaucoup.
    Je souhaite créer un formulaire qui affiche une image. L'image affichée varie en fonction du variable (nombre).
    Comment puis-je faire ?
    merci
    ----- Mail original -----
    De: "JotForm"
    À: "guillaume davy"
    Envoyé: Mardi 7 Avril 2020 19:14:09
    Objet: Re: Display an image in the form with a dynamic structure
    A new response has been received:
    Answered by VincentJay
    I checked the link you shared and the page is not found.
    Please share the correct link so we can check it further.
    I am just assuming that you want to draw or update the uploaded image. Please check this widget: https://www.jotform.com/widgets/draw-on-image
    Let us know if you need further help. Thank you.
    View this thread on browser » Unsubscribe Thread
    1586279649
    ...
  • jherwin
    Replied on April 8, 2020 at 6:58 AM

    You can use the image field to show the images and then use conditional logic to show/hide the images based on the user's answer.

    Here's a demo form: https://form.jotform.com/200983262293053

    Guide: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    Please give it a try and let us know if that could work for you.