-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
If I have a checkbox on the page and I check it and then hit submit on the form, if the form returns with validation errors, the checkbox is no longer checked.
Also if I have a form where I set the checkbox to checked, it will not check the checkbox when it is rendered on the page. The code I am using is
$form->add_checkbox ('permissions['.$permission['id'].']', $permission['label'], $permission['id'], 'trim', TRUE);
Am I doing something wrong with either of these issues?
Metadata
Metadata
Assignees
Labels
No labels