- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::formfield::boolean
::xowiki::formfield::booleancreate ... \
[ -default (default "t") ]
Defined in
Class Relations
Methods (to be applied on instances)
default (setter)
initialize (scripted)
json_value (scripted, public)
<instance of xowiki::formfield::boolean> json_value value
Export a boolean, mapping an empty value to null and preserving invalid nonempty values as strings.
- Parameters:
- value (required)
- Stored boolean field value.
- Returns:
- Two-element ns_json type/payload pair.
- Testcases:
- No testcase defined.
value_if_nothing_is_returned_from_form (scripted)
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)