Method RadioButton()


 

Syntax

:RadioButton(cName, cValue, [cCaption], [lChecked], [cLeftRight], [cnTabIndex], [lBR], [lWrite])

 

Parameters

 

cName

Variable name. cName is used to Group RadioButtons together.

Only a single value from the Group can be returned to the Form processor (Form's "Action" value).

 

cValue

Value assigned to the variable, cName, if checked.

 

cCaption

Text to place next to the control.

 

lChecked

Whether the initial state of the control is Checked or not. Default is unchecked.

 

cLeftRight

Determines which side of the control the text (cCaption) is displayed. Default Right

 

cnTabIndex

The Tab-Order of this control.

 

lBR

Logical indicating whether to append a <BR> (Web newline) to Display elements

 

lWrite

Logical indicating whether to send results directly to the User's Browser

 

Return

If :lWrite, Number of characters written to Browser.

Otherwise, the results is the completed <INPUT type="RADIO" ... >Tag.

 

Description

Creates and configures a RadioButton Control for use on a Form on a Web page.

 

See Also:

:Button(), :Checkbox(), :FormStart(), :GetVar(), :MLE(), :RadioButton(), :SelectStart(), :SelectOption(), :SetVar(), :SLE(), :aVars

 



Contents