A parameter form provides required elements and elements to use if, for example, you are setting up a parameter pick list or must access information from a database.
Required elements include elements that identify a file as a parameter form file, return parameter information, and return the URL to use when you submit the form for processing.
Table 91. Required Elements
Elements | Function |
---|---|
setParameterAskCond(String n) | Selects the Nth ASK parameter, where n is from 1 to the total number of ASK parameters |
getParameterFieldName() | Returns the name of the HTML form field for setting the value of the parameter selected in ParameterInputCond or ParameterAskCond |
setParameterInputCond(String n) | Selects the Nth INPUT parameter, where n is from 1 to the number of INPUT parameters |
getParameterName() | Returns the current parameter name |
getParameterValue() | Returns the value of the current parameter or, for a parameter list, the current value of the parameter |
The following topics show code snippets using the required elements.