We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39501
    • 163 Posts
    I have a selection of documents that are selected to be displayed on the homepage using getResources and a custom TV filter.

    My site was originally on 2.2.4 (worked fine: and had multiple checkboxes selected I could click as many options as I wanted, unclicking options worked too), but since moving to 2.2.6, even though I select more than 1 option, it only ever remembers 1 value. Documents that I haven't touched since the move from 2.2.4 to 2.2.6 still have multi checkboxes ticked, its only documents, i've edited in 2.2.6 that loose the ability to have more than 1 tick box selected.

    The problem: When I tick another option to be set from the checkboxes and save, it doesn't save the new option I selected.

    Can anybody help explain this madness?

    Update:
    I've just tried this on a blank installation of 2.2.6.
    TV Type: Check Box
    Input value: Item==0||Item2==1||Item3==2||Item4==3

    On 2.2.4 I could select as many items from the Check Box as I wanted, on 2.2.6 it will only save one option, even though more than 1 option is selected? What's changed? Was this planned? Or is this a bug?

    Update2:
    Hoping that I could side step the problem, I changed the TV to a Listbox - multiselect, however after save it only ever remembers 1 value.

    Very confused.

    This question has been answered by jonleverrier. See the first response.

    [ed. note: jonleverrier last edited this post 13 years, 7 months ago.]
    • discuss.answer
      • 39501
      • 163 Posts
      Looks like 2.2.6 doesn't like the input value of "0". Problem solved after re-setting this value on over 30 documents smiley

      Have left this post here if other people encounter this issue.
        • 40045
        • 534 Posts
        Could you file this as a bug in bugs.modx.com, or did you already?
          • 39501
          • 163 Posts
          @exside - http://tracker.modx.com/issues/9492

          Guess its not a major bug - you can get around it by not using a value of "0". Just more annoying if you're porting across a site from 2.2.4, using value "0" for certain items and trying to manage it on 2.2.6!

          [ed. note: jonleverrier last edited this post 13 years, 7 months ago.]
            • 2396
            • 101 Posts
            Has anyone had any luck with this yet? I'm using 2.2.8 and I'd like to be able to insert 0 as a variable by selecting a checkbox but 0 just won't appear. I've gotten around it by using a text area but it's not as user friendly.