FORMOPEN and FORMCLOSE v16

This function and procedure generates the <FORM> and </FORM> tags, which create a form section in an HTML document.

Syntax

The following is the syntax for HTP:

HTP.FORMOPEN (
   curl           IN       VARCHAR2
   cmethod        IN       VARCHAR2   DEFAULT 'POST'
   ctarget        IN       VARCHAR2   DEFAULT NULL
   cenctype       IN       VARCHAR2   DEFAULT NULL
   cattributes    IN       VARCHAR2   DEFAULT NULL);

htp.FORMCLOSE;

The following is the syntax for HTF:

HTF.FORMOPEN (curl, cmethod, ctarget, cenctype, cattributes) RETURN VARCHAR2;

HTF.FORMCLOSE RETURN VARCHAR2;

Parameters

ParameterPurpose
curlThe URL of the WRB or CGI script where the contents of the form are sent (required)
cmethodThe value for the METHOD attribute, either 'GET' or 'POST'
ctargetThe value for the TARGET attribute
cenctypeThe value for the ENCTYPE attribute
cattributesOther attributes to include as is in the tag