LassoScript Utility
Basics Browse Detail

[Client_FormMethod]

Tag Link [Client_FormMethod] Category Client
Type Substitution Source Available Yes
Support Preferred Version 5.0
Change Unchanged Data Source Any
Output Type String Security None
Implementation LDML Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0

Description

[Client_FormMethod] returns the method used to load the current page. Possible return values include GET and POST. Some Web servers might also send HEAD requests on to Lasso.

Syntax

[Client_FormMethod]

Parameters

No Parameters Required.

Examples

To display the GET or POST parameters depending on what type of method was used to load the current page:

Use the [Client_FormMethod] tag to check what method was used to load the current page and the [Client_GetArgs] or [Client_PostArgs] tags to retun the parameters.

[If: (Client_FormMethod) >> 'GET']
  <br>[Client_GetArgs]
[Else: (Client_FormMethod) >> 'POST']
  <br>[Client_PostArgs]
[/If]