Retrieves values from [client_params] in the same manner that [action_param] retrieves values from [action_params]. An additional -explode option returns an array, for params that have multiple values. Safe to use inside [inline]. Requires [client_params] tag, available here.
Parameters
-count
boolean, optional
Adding -count will cause the tag to return the number of values returned matching the given name.
-explode
boolean, optional
Causes the tag to return an array of values.
Sample Usage
client_param('id');
client_param('checkme');
client_param('checkme', -count);
client_param('checkme', 2);
client_param('checkme', -explode);
-> 12345 // value of id
-> 1 2 3 4 5 // values of checkme
-> 5 // number of checkme items submitted
-> 2 // value of 2nd checkme item
-> (array: (1),(2),(3),(4),(5)) // array of checkme items
Source Code
Click the "Download" button below to retrieve a copy of this tag,
including the complete documentation and sample usage shown
on this page. Place the downloaded ".inc" file in your
LassoStartup folder, restart Lasso, and you can begin using this
tag immediately.
Updated
Updated to include -explode option.