GetFormField

Overview 

Pulls back form field information POSTed to the page based on a specified key

Syntax 

GetFormField(1)

Function Properties 

OrdinalTypeDescription
1stringRequiredKey value used to identify applicable form field

Members 

You can retrieve member values using these strings:

  • ApplicationID
  • PackageID
  • ApplicationBaseURL
  • URL
  • PagePath
  • Method

Example 

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