FORMCHECKBOX v16

This function and procedure generates the <INPUT> tag with TYPE="checkbox". This tag inserts a check box element in a form.

Syntax

The following is the syntax for HTP:

HTP.FORMCHECKBOX (
   cname          IN       VARCHAR2
   cvalue         IN       VARCHAR2   DEFAULT 'on'
   cchecked       IN       VARCHAR2   DEFAULT NULL
   cattributes    IN       VARCHAR2   DEFAULT NULL);

The following is the syntax for HTF:

HTF.FORMCHECKBOX (cname, cvalue, cchecked, cattributes) RETURN VARCHAR2;

Parameters

ParameterPurpose
cnameThe value for the NAME attribute
cvalueThe value for the VALUE attribute
ccheckedIf the value for this parameter isn't NULL, adds the CHECKED attribute to the tag
cattributesOther attributes to include as is in the tag