checkbox field type for a field which can either be checked or unchecked.
checkbox field 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" );
When displayed in the Fields meta box or [bw_new] it appears like this.
When displayed by [bw_fields] it appears like this.
If 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