[Action_Param] returns the value for an HTML form element, URL parameter, or [Inline] parameter. If the named parameter was not specified in the HTML form or URL that loaded the current page or in the nearest surrounding [Inline] tag then no value is returned.
If the optional -Count keyword is specified then the number of repetitions of the named parameter is returned. An optional integer parameter allows each of the repetitions to be returned individually.
The [Action_Params] tag can be used to return an array that contains each of the parameters of the current action as well as all the command tags that define the current action.
[Action_Param: 'Parameter Name']
[Action_Param: 'Parameter Name', -Count]
[Action_Param: 'Parameter Name', Parameter Index]
Use the [Action_Param] tag to return each repetition of a named parameter for the current database action. The following example returns each repetition of the First_Name parameter.
[Loop: (Action_Param: 'First_Name', -Count)]
<br>[Action_Param: 'First_Name', Loop_Count]
[/Loop]
<br>John
<br>John
<br>Mary
<br>Joe
<br>Sarah
Tag Link | [Action_Param] | Category | Utility |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 5.0 |
Output Type | String or Integer | Security | None |
Implementation | Sets | Lasso 5.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft