Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 664 Bytes

form-checkbox.md

File metadata and controls

23 lines (18 loc) · 664 Bytes

Checkbox Form Type

Checkbox With Your Own Enum

$this->form[] = ['label'=>'Platform','name'=>'platform','type'=>'checkbox','dataenum'=>'Android;IOS;Website'];

Checkbox With Looking Up Table

$this->form[] = ['label'=>'Platform','name'=>'platform','type'=>'checkbox','datatable'=>'platform,name'];

Legend

Attribute Name Example
dataenum Android;Ios;Website . sparate with comma
datatable table_name,field_name . field_name is field that want to show as label

What's Next

Table Of Contents