LassoScript Utility
Basics Browse Detail

[Client_PostParams]

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

Description

[Client_PostParams] returns a pair array containing an element for each parameter passed by a form as a POST parameter with the current request.

Syntax

[Client_PostParams]

Parameters

No Parameters Required.

Examples

To check whether a given parameter was specified in the form that loaded the current page:

Check the [Client_PostParams] array. The following example uses the [Array->Find] tag to check whether the POST parameters contain an argument for 'Username'. If the parameter is not found then the empty array is returned.

[If: (Client_PostParams)->(Find: 'Username') != Array]
  <br>A Username was specified.
[/If]

<br>A Username was specified.