We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8960
    • 150 Posts
    Good to know, but that wasn’t working for me because I had set the Default Value as one of my options. What my client wanted was a way to hide the sidebar content altogether, but I worked around it by making the content area selectable with another TV to be 1-column or 2-column (which changes the site’s CSS).

    This seems to work great, but referring back to the point, you can’t unselect TV options if you are using one of those options as a Default Value, right?
      • 33372
      • 1,611 Posts
      That’s correct. If you set a default value, if the TV value is empty it will be replaced by the default value. If you want a default value but also want to be able to set values to blank, then you need to use the method that Ryan describes above (adding a null value to your options for multi-selects, check boxes, etc.).
        "Things are not what they appear to be; nor are they otherwise." - Buddha

        "Well, gee, Buddha - that wasn't very helpful..." - ZAP

        Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
        • 25663 MODX Staff
        • 12,272 Posts
        If you put multiple values in the default value without the appropriate output widget, you get the results shown in the first post.
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 17622
          • 39 Posts
          Thanks to all the replies, I understand it a bit better now (after re-reading it a few times). I was thinking that the "default values" area should be a list of options that have already been listed in the "input option values" field, no that it should contain snippet calls and (X)HTML.

          Luke.