- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::formfield::number
::xowiki::formfield::numbercreate ... \
[ -js_invalid_msg (default "") ] \
[ -js_validate (default "false") ] \
[ -max max ] \
[ -min min ] \
[ -step step ] \
[ -td_CSSclass (default "right") ] \
[ -value value ]
Defined in
Class Relations
- class: ::xotcl::Class
- superclass: ::xowiki::formfield::FormField
- subclass: ::xowiki::formfield::grade_boundary
Methods (to be applied on instances)
json_value (scripted, public)
<instance of xowiki::formfield::number> 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.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)