AMPscript
GetFormField
GetQueryStringParameter
Validate Your Server-Side JavaScript using WSProxy
Pulls back form field information POSTed to the page based on a specified key
GetFormField(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Key value used to identify applicable form field |
You can retrieve member values using these strings:
This sample code requests a form field based on the supplied key:
1Request.GetFormField("bar");This sample code provides examples of how to call a member:
1var requestURL = Request.URL();
2var requestMethod = Request.Method();You must escape all HTML form field information.
Note