checkboxfield type for a field which can either be checked or unchecked. Create the
checkboxfield type using
You appear to be a bot. Output may be restricted
bw_register_field( "_oik_api_deprecated_cb", "checkbox", "Deprecated?" ); bw_register_field_for_object_type( "_oik_api_deprecated_cb", "oik_api" );
Form displayWhen displayed in the Fields meta box or [bw_new] it appears like this.
bw_fields displayWhen displayed by [bw_fields] it appears like this.
NotesIf you make this field a #required field then the user will have to check it before continuing. Use this when requesting users to agree to Terms and Conditions.
- oik-fields – requirements and implementation overview
- oik-fields – Field Types
- oik-fields – Field Attributes
- oik-fields – Implementing a new custom field
- oik-fields – unique features