Menu

Radiobutton

Jim Saxton

Radiobutton

The radiobutton type is used for a radio selection group. Only one of the options can be selected.

radiobutton

radio.type = radiobutton
radio.label = How would you like your coffee?
radio.option1 = Black
radio.option2 = With milk
radio.option3 = With milk and sugar
radio.option4 = Only sugar, no milk
radio.default = option1
radio.tooltip = Please make your selection.

textfield widget

A radiobutton entry group

radiobutton will return "name=option#" , where # indicates a number 1 to 6. In this case "radio=option1".

.label The prompt for the user that identfies what information is being requested. If the label is longer than the width of the window, the window will be resized.

.default Sets the default selected option for the group.

.option1 through .option6 The radio button options. Start with option 1 and add options until the group is complete. This element will allow up to six options.

The option is set to the label displayed for this selection.

.tooltip Set a tooltip for the radiobutton group.

Back Next


MongoDB Logo MongoDB