I had some questions in regards to the checkbox tree options. Is there a way to have a select all in this meta box type? Also is there a way to access the data before it is saved?
Let's see that I have the following setup:
- Parent Element
- Child Element
- Child Element
When selecting the Parent Element, I want the value to be equal to all the child elements. It doesn't appear to select children elements so I was hoping maybe I can access the data of the Parent Element when saving to the database and split into array items with the rest of the multiple selects?
So if it was value1,value2,value3 as the value of a parent item, it can be split into the array with the rest of the non parent items selected somewhere else in the checkbox tree. I hope this all makes sense. If it's not possible, may just have to build a custom meta box.
The main needs are the ability to have a tree or header above sections and make selecting groups of options very easy to do.