Index: openacs-4/packages/acs-templating/www/doc/widgets/input.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/widgets/input.adp,v diff -u -r1.4.2.4 -r1.4.2.5 --- openacs-4/packages/acs-templating/www/doc/widgets/input.adp 9 Jun 2016 13:03:12 -0000 1.4.2.4 +++ openacs-4/packages/acs-templating/www/doc/widgets/input.adp 5 Jul 2016 12:14:22 -0000 1.4.2.5 @@ -3,19 +3,21 @@ Templating System Widget Reference: Input

The Input Widgets

+ +Templating System : Widget Reference : Input

Overview

These widgets provide a variety of HTML controls, all of which -are based on <input type="...">. In particular, -the hidden, text, radio and checkbox widgets are currently -implemented; their use is demonstrated in the acs-templating demo.

+are based on <input type="...">. In +particular, the hidden, text, radio and checkbox widgets are +currently implemented; their use is demonstrated in the acs-templating demo.

The Hidden Widget

-

This is simply an <input type="hidden"> -widget, which is used for passing pre-set variables along with the -form.

+

This is simply an <input +type="hidden"> widget, which is used for +passing pre-set variables along with the form.

The Text Widget

This widget allows the user to enter one line of text. It is -completely identical to the <input type="text">. The --html parameter can be used to set its properties +completely identical to the <input type="text">. +The -html parameter can be used to set its properties (such as size, maxlength, etc.), as described in the general widgets reference. The value of this widget is the text string.

@@ -32,13 +34,14 @@ -options { {Cheap 1000} {Medium 50000} {Expensive 999999} } -will create a radio button group with 3 options: "Cheap", whose -value is 1000, "Medium", whose value is 50000, and "Expensive", -whose value is 999999. The value of the entire widget is either the -empty string (if the user did not select any of the radio buttons), -or a the value of the currently selected radio button. For -instance, if the user selects "Medium" in the example above, the -value of cost +will create a radio button group with 3 options: "Cheap", +whose value is 1000, "Medium", whose value is 50000, and +"Expensive", whose value is 999999. The value of the +entire widget is either the empty string (if the user did not +select any of the radio buttons), or a the value of the currently +selected radio button. For instance, if the user selects +"Medium" in the example above, the value of +cost will be 50000 .

The default form template renders the Radio Group widget as a