CheckboxList SelectAll by default
How can I make my CheckboxList all checked by default?
3 Replies
I personally used
Thank you but how can I use this in CheckboxList Component?
When submitting form, you'll notice that the checkboxlist will return something for $data['checkboxlistinput'], the checked items of that checkbox. By reversing this process you are pre-filling the checkboxlist component. Have to use either of those two methods above.