I’ve got a ditto call from a page, looking up a collection of pages from a different section in modx (the results are from a different parent)
I’m looking up values based on checkboxes which are generated based on those very pages.
My tv name is ’cases’
The value type is checkbox
and the input values are:
@SELECT pagetitle, alias FROM modx_site_content WHERE parent='2'
This tv is available to the the these pages.
The page that loads these pages should filter out this collection based on what pages have ’this’ value applied to them.
So page id 2 would make a ditto call:
[!Ditto?startID=`3`&tagDelimiter=`, ` &tpl=`caselist` &tagData=`cases` &tagMode=`onlyTags` &tags=`construction_accidents`!]
The problem is, if the page to be loaded has only a single check checked, then it returns fine, but if there are multiple values chosen, none are returned.
How can I work this so I can apply multiple values with a checkbox (so a page can fall into multiple categories)
I’ve attached a screen of the modx pages for clarity.
Thank you
Rich