This method retrieves multiselect HTML form variables from the CGI content file into an array. Multiselect variables can be returned when using scrolling HTML lists with the SELECT MULTIPE option or multiple radio buttons and checkboxes using the same variable name.
Multi-select values can come from Multi-select lists and drop downs or from radio buttons.
o.getformmultiple(@taVars,tcVarname)
Return Value
Numeric - count variables retrieved into the array. The array will be filled.
Parameters
@taVars
An array that will receive the form variables. MUST BE PASSED BY REFERENCE
tcVarname
The name of the form variable to retrieve.
Example
DIMENSION laVars[1]
lnVars=Request.GetFormMultiple(@laVars,"LastName")
FOR x=1 to lnVars
Response.Write( laVars[1] + "</br>")
ENDFOR
See also:
Class wwrequest | wwRequest::Form | wwRequest::FormXML© West Wind Technologies, 1996-2024 • Updated: 10/02/15
Comment or report problem with topic