WORadioButtonList
Version 9.1 by Klaus Berkling on 2012/03/03 17:36
Introduction
WORadioButtonList displays a list of radio buttons. The user can make a selection that is then returned selection object.
Usage
In the WOD File:
WORadioButtonList {
list = ObjectsList;
item = ObjectItemInList;
displayString = ObjectItemInList.displayString;
[value = valueOfInputTag;]
[index = ObjectListIndex;]
[prefix = prefixHTMLString;]
[suffix = suffixHTMLString;]
[selection = selectedObjectInList;]
[name = aName;]
[disabled = disabledList;]
[escapeHTML = renderDisplayStringAsHTML;]
}
Unknown macro: color. Click on this message for details.
Note: Use a string in displayString that is part of the item object, if there is no displayString then the value is used as the label for the radio button.
Key | Value |
---|---|
list | An array of objects |
item | An element from the list array |
displayString | A string used as the label for the radio button. If there is no displayString the value is used |
value | The value in INPUT TYPE="radio" VAUE="aValue" |
index | Index of the current integration of the list array |
prefix | HTML prefix to the displayString |
suffix | HTML suffix to the displayString |
selection | The selected object from the list array |
name | The name in INPUT tag |
disabled | If true then the radio button is disabled |
escapeHTML | Rendered the displayString as HTML |