wwRequest::GetFormMultipleCollection

This method retrieves multiselect Request form variables into a collection of string values.

Multi-select values can come from Multi-select lists, drop downs or from radio buttons.

o.GetFormMultipleCollection(tcVarname)

Return Value

Collection of values. Collection is always returned but can be empty

Parameters

tcVarname
The name of the form variable or form multiples to retrieve.

Example

*** Return a collection of values
loVars = Request.GetFormMultipleCollection("CustomerPk")

*** Echo values back
FOR lnX=1 to loVars.Count
   Response.Write( loVars[lnX] + "</br>")
ENDFOR

See also:

Class wwrequest | wwRequest::Form | wwRequest::FormXML

© West Wind Technologies, 1996-2018 • Updated: 10/02/15
Comment or report problem with topic