How can I show the selected image from the image picker in a quiz form?

  • Profile Image
    Asked on June 04, 2015 at 04:38 PM

    Question 2

    On the same tack, on question 4, I have some images that I want a user to make a choice between. I would like to show what image they selected on the page "Answer 4" like the other answers on that page, but can't seem to get it to work. I've attempted to change the text field's HTML to insert an <img src="{fieldname}" /> tag, but Jotform turns it into <img src="/{fieldname}" />, which breaks the image link. Any ideas?

  • Profile Image
    Answered on June 04, 2015 at 05:52 PM

    I presume that you're referring to this widget, right?

    If so, another way to do this is adding 4 image fields to your form in the answer section and use conditional logic to show only the picture that was selected on the widget with a condition like the one below.

    Let us know if this makes sense or you need more clarification on this.

  • Profile Image
    Answered on June 05, 2015 at 08:44 PM

    Ahhh good idea! I tried this, and it worked perfectly. Thanks for your help!

  • Profile Image
    Answered on June 06, 2015 at 02:18 AM

    Hi SABL, 

    On behalf of my colleague, Raul, you are welcome.


    Glad to hear that your concern was solved.