htp.formSubmit htp.formText htp.formTextarea, htp.formTextarea2

1-22 Oracle Fusion Middleware PLSQL Web Toolkit Reference

1.41 htp.formSubmit

This generates the INPUT tag with TYPE=submit, which creates a button that, when clicked, submits the form. If the button has a NAME attribute, the button contributes a namevalue pair to the submitted data. Table 1–40 describes the properties of htp.formSubmit.

1.42 htp.formText

This generates the INPUT tag with TYPE=text, which creates a field for a single line of text. Table 1–41 describes the properties of htp.formText.

1.43 htp.formTextarea, htp.formTextarea2

This generates the TEXTAREA tag, which creates a text field that has no predefined text in the text area. This field enables entering several lines of text. Table 1–40 htp.formSubmit Properties Definitions Syntax: htp.formSubmit cname in varchar2 DEFAULT NULL cvalue in varchar2 DEFAULT Submit cattributes in varchar2 DEFAULT NULL; htf.formSubmit cname, cvalue, cattributes return varchar2; Parameters: cname - the value for the NAME attribute. cvalue - the value for the VALUE attribute. cattributes - other attributes to be included as-is in the tag. Generates: INPUT TYPE=submit NAME=cname VALUE=cvalue cattributes Table 1–41 htp.formText Properties Definitions Syntax: htp.formText cname in varchar2 csize in varchar2 DEFAULT NULL cmaxlength in varchar2 DEFAULT NULL cvalue in varchar2 DEFAULT NULL cattributes in varchar2 DEFAULT NULL; htf.formText cname, csize, cmaxlength, cvalue, cattributes return varchar2; Parameters: cname - the value for the NAME attribute. csize - the value for the SIZE attribute. cmaxlength - the value for the MAXLENGTH attribute. cvalue - the value for the VALUE attribute. cattributes - other attributes to be included as-is in the tag. Generates: INPUT TYPE=text NAME=cname SIZE=csize MAXLENGTH=cmaxlength VALUE=cvalue cattributes The htp and htf Packages 1-23 The difference between these subprograms is that htp.formTextarea2 has the cwrap parameter, which specifies a wrap style. Table 1–42 describes the properties of htp.formTextarea, htp.formTextarea2.

1.44 htp.formTextareaOpen, htp.formTextareaOpen2, htp.formTextareaClose