I wish the values returned in the array from
getDocumentChildrenTVarOutput were themselves also in an Array.
As it stands today, I have One TV (multiple checkboxes) driven from an @SELECT... Based on the checkboxes selected, the values are stored in the db table (modx_site_tmplvar_contentvalues) as: val1||val2||val3
When returned via
getDocumentChildrenTVarOutput, the value of the array index is: val1val2val3; however, in my case, I use numerical ids, so my actual result isn’t:
val1val2val3
rather
123
See the problem?
Well, what if I had 12 checkboxes instead of three? I wouldn’t know if ID 12 and 3 were selected, or 1, 2, and 3...etc, etc...
If the resulting values were delimited in the DB, they should be individually distinguishable in the result set as well (IMO).