You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You should be able to use $checkboxes->set_default_value(array('something'));, just as you do with select boxes. But quickly skimming the code in WP_Form_View_Checkboxes, it looks like I haven't yet implemented that. I'll add it in as soon as I can (but I'm a little overwhelmed right now, so pull requests are always welcome).
I can create a checkbox group like so:
Cool.
But if I'm grabbing data from the database (after the form has been submitted), how do I show which options have been selected.
Will sets all the attributes to checked. There doesn't seem to be anything I can find in the docs about this. Any tips!?
The text was updated successfully, but these errors were encountered: