We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1511
    • 144 Posts
    I have a TV with 20 different possible values. When displaying the document I’d like to show different images in the content for different values of TV.

    For example, the TV input is checkboxes (so TV has many possible values simultanueously) and for every value I’d like to show a specified image.

    How can that be achieved?
      • 727
      • 502 Posts
      You can write a snippet that looks at the values of the checkboxes and then outputs the HTML for the images.

      Another approach is to use a drop-down list with values like:

      House=={{houseimage}}||Car=={{carimage}}
      


      where houseimage and carimage are chunks containing HTML for the snippets.

      But that doesn’t work well for a large number of combinations.

      Andy