Tag Link | [Required_Field] | Category | Results |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 3.0 |
Change | Unchanged | Data Source | Any |
Output Type | String or Integer | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x |
[Required_Field] can be used to output the names of each of the required fields or columns which are defined in the current database and table
When called with a
When called with a numeric parameter this tag returns the name of one of the required fields.
[Required_Field:
[Required_Field: Field Number]
Optional Parameters | |
---|---|
Encoding Keyword | Specifies the encoding for the tag's return value. Tags are encoded using |
-Count | Optional parameter outputs the number of required fields. |
Field Number | Optional numeric parameter outputs the name of one of the required fields. |
To display the current required fields:
Use the [Required_Field] tag within [Loop] ... [/Loop] tags. The following example shows two required fields First_Name and Last_Name.
[Inline:
[Loop: (Required_Field:
<br>[Required_Field: Loop_Count]
[/Loop]
[/Inline]
<br>First_Name
<br>Last_Name