[Req_Field] can be used to output the names of each of the required fields or columns which were specified for the current database action.
When called with a -Count parameter this tag returns the number of required fields that were specified.
When called with a numeric parameter this tag returns the name of one of the required fields.
Since the -Required command tag can only be used within Classic Lasso actions in HTML forms and URLs, this tag cannot be used within [Inline] ... [/Inline] tags.
[Req_Field: -Count]
[Req_Field: Field Number]
Use the [Req_Field] tag within [Loop] ... [/Loop] tags. The following example shows two required fields First_Name and Last_Name.
[Loop: (Req_Field: -Count)]
<br>[Req_Field: Loop_Count]
[/Loop]
<br>First_Name
<br>Last_Name
Tag Link | [Req_Field] | Category | Results |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Abbreviation | Version | 3.0 |
Output Type | String or Integer | Security | None |
Implementation | LCAPI | Sets | Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x |
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