Gets an element in the data collection added to the current request.
In a Web environment, this will be the posted form data.
In a Web environment, this will be the posted form data.
Syntax
Smartsite SXML | Copy Code |
---|---|
string request.form(string name) string request.form(string name, boolean unSafeValue) |
Parameters
Name | Data Type | Description |
---|---|---|
name | String | The name of the element. |
unSafeValue | Boolean |
If set to true the unsafe value is returned to the caller. This is potentially dangerous because of code injection attacks. |
Return Value
Data Type | Description |
---|---|
String | The value of the specified element. |