Returns a hashtable object containing any form elements sent to the specified request object or returns the value of the given form element identifier using the specified request object.
Syntax
Form( request )
request.Form( )
Parameters
request
|
the request object to use.
|
Returns
hashtable
|
the hashtable object containing any form elements sent using the post or get request method to the specified request object.
null if none.
|
Notes
This method is only accessible by ss and by iScript Servlet.
Example
fields = Request( ).Form( )
Syntax
Form( request , name )
request.Form( name )
Parameters
request
|
the request object to use.
|
name
|
the name of the form element.
|
Returns
value
|
the value(s) associated with the given from element.
string if only one value.
vector if more than one value.
null if none.
|
Notes
This method is only accessible by ss and by iScript Servlet.
Example
println( "name: " + Request( ).Form( "name" ) )
Syntax
Form( request , name , index )
request.Form( name , index )
Parameters
request
|
the request object to use.
|
name
|
the name of the form element.
|
index
|
the index into the vector object of values.
|
Returns
string
|
the value associated with the given from element.
null if none.
|
Notes
This method is only accessible by ss and by iScript Servlet.
Example
println( "value: " + Request( ).Form( "list", 1 ) )
|