GetFormField

Overview

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

Syntax

GetFormField(1)

Function Properties

<!--complex table-->
Ordinal Type Description
1 string Required Key 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:

Request.GetFormField("bar");

This sample code provides examples of how to call a member:

var requestURL = Request.URL();
var requestMethod = Request.Method();

note: You must escape all HTML form field information.