Creates an HTML CheckBox as an input element.
HtmlCheckBox(lcName,lcText,llValue,lcAttributes)
Return Value
Html string for a checkbox.
Parameters
lcName
The name/id of the HTML control.
lcText
The text for the checkbox label. Is applied to the left of the checkbox.
llValue
A logical value that determines whether the control is checked or not.
On a Postback operation llValue is automatically read from Request.Form() if available.
lcAttributes
Any HTML attributes you want to specify like styles or classes or anything else.
Example
<%= HtmlCheckBox("chkShowCustomers","Show Customers",.T.) %>
See also:
Library wwHtmlHelpers© West Wind Technologies, 1996-2024 • Updated: 11/08/12
Comment or report problem with topic