Method Checkbox()


 

Syntax

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

 

Parameters

 

cName

Variable name.

 

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="Checkbox" ... >Tag.

 

Description

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

 

See Also:

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

 



Contents