This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Pat Och
hi buddies,
As announced in the Build 374 feature, we can create Form fields beginning with an underscore (_) that ared purged automatically and no longer saved to the model.
but it seems doesn't work with checkbox form field, am i right or ...? i tested again and again with help of debugbar and result are null
please dears conceptors, can you fix it ?
Pat Och
for those interresting, as i need to progress in my project, i use a normal field name (without underscore) then unset it in beforeSave() model event
like this
public function beforeSave() {
....
unset($this->myCheckboxFieldName);
...
}
1-2 of 2