RequestParameter()

Returns the value of a parameter from a form field or landing page URL parameter.

The RequestParameter() function has one parameter:

  • queryParameter (string): Required. The parameter to retrieve the value of.

To use the function, pass it the name of a parameter that contains the value that you want to retrieve. Like the QueryParameter() function, you can use this function to retrieve values from landing page URL query parameters. However, unlike the QueryParameter() function, you can also use this function to retrieve values from form fields.

This example returns the value of the parameter ProductID from the query parameters of the landing page URL.