Method Html3():checkBox() Professional
Create HTML code for a checkbox.
:checkbox( <cName> , ; [<cValue>] , ; [<cCaption>] , ; [<cOptions>] ) --> NIL
The return value of the method :checkBox() is always NIL.
The method creates the HTML code for a checkbox. The parameter <cValue> is the string returned from oHTML:getVar(<cName>) if the checkbox is checked. When it is not checked, oHTML:getVar(<cName>) returns the value NIL. <cValue> defaults to "on". To create a checkbox in checked state, pass the character string "checked" as fourth parameter.
A call to this method must be enclosed by the method calls :formStart() and :formEnd()
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.