FROMSELECTOPEN and FORMSELECTCLOSE v16

This function and procedure generates the <SELECT> and </SELECT> tags, which create a select form element. A select form element is a list box from which the user selects one or more values.

Syntax

The following is the syntax for HTP:

Htp.FORMSELECTOPEN (
   cname          IN       VARCHAR2
   cprompt        IN       VARCHAR2   DEFAULT NULL
   nsize          IN       INTEGER    DEFAULT NULL
   cattributes    IN       VARCHAR2   DEFAULT NULL);

htp.formSelectClose;

The following is the syntax for HTF:

HTF.FORMSELECTOPEN (cname, cprompt, nsize, cattributes) RETURN VARCHAR2;

HTF.FORMSELECTCLOSE RETURN VARCHAR2;

Parameters

ParameterPurpose
cnameThe value for the NAME attribute
cpromptThe string preceding the list box
nsizeThe value for the SIZE attribute
cattributesOther attributes to include as is in the tag