We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4080
    • 139 Posts
    I’m pretty sure I’m totally missing something having to do with using data bindings in template variables. I need a checkbox TV that has a list of colors and a chunk for each color to display if its checkbox is selected in the resource. Can somebody show me the right way to do this!? Thanks in advance. I’ve attached a screenshot as well so you can see what’s NOT working.

    (Using 1.0.4)
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      White=={{color_white}}||Red=={{color_red}}||Blue=={{color_blue}}
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 4080
        • 139 Posts
        DOY!! Thank you very much. Is it easy to have all checkboxes checked by default?
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          dunno... you’ll have to give it a try. In the default value try just putting all the chunks, then if that doesn’t work try separating them with || or commas.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 4080
            • 139 Posts
            The double pipe separation did it! Thanks once again.