- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::formfield::range
::xowiki::formfield::rangecreate ... \
[ -CSSclass (default "form-range") ]
Defined in
Class Relations
::xotcl::Class create ::xowiki::formfield::range \ -superclass ::xowiki::formfield::FormFieldMethods (to be applied on instances)
json_value (scripted, public)
<instance of xowiki::formfield::range> json_value value
Export a JSON number, mapping an empty value to null and preserving invalid nonempty values as strings.
- Parameters:
- value (required)
- Stored numeric field value.
- Returns:
- Two-element ns_json type/payload pair.
- Testcases:
- No testcase defined.
return [::xowiki::json_scalar number $value]
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)