- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowiki::formfield::range
::xowiki::formfield::rangeHTML5 range input field. The range input is rendered as a slider by the actual browsers.create ... \
[ -max max ] \
[ -min min ] \
[ -output_prefix (default "") ] \
[ -output_suffix (default "") ] \
[ -step step ] \
[ -value value ] \
[ -with_output:boolean with_output:boolean ]
Defined in /var/www/openacs/packages/xowiki/tcl/form-field-procs.tcl
- Documented Parameters:
- min
- minimum value of the value range
- max
- maximum value of the value range
- step
- increment steps when moving the slider
- with_output
- add an output box with show the actual slider value (requires JavaScript)
- output_prefix
- prepend string value to the actual slider value in the output display
- output_suffix
- append string value to the actual slider value in the output display
Class Relations
Methods (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.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
![[i]](/resources/acs-subsite/ZoomIn16.gif)