[Checked] displays the word "checked" if the current value list item is selected in the field assocated with the value list.
This tag should be used within [Value_List] ... [/Value_List] tags to place the "checked" parameter within HTML <input> tags for radio buttons or checkboxes.
[Value_List: 'Field Name']
<input type="checkbox" name="Field_Name"
value="[Value_ListItem]" [Checked]> [Value_ListItem]
[/Value_List]
[Value_List: 'Field Name']
<input type="radio" name="Field_Name"
value="[Value_ListItem]" [Checked]> [Value_ListItem]
[/Value_List]
Use the [Value_List] ... [/Value_List] and [Value_ListItem] tags to generate check boxes with the appropriate values and the [Checked] to ensure that the proper check boxes are checked, based upon the current field values.
The following example creates a series of check boxes for the Favorite_Color field. The results show Yellow checked as the favorite color.
[Value_List: 'Favorite_Color']
<br><input type="checkbox" name="Favorite_Color"
value="[Value_ListItem]" [Checked]> [Value_ListItem]
[/Value_List]
<br><input type="checkbox" name="Favorite_Color"
value="Red"> Red
<br><input type="checkbox" name="Favorite_Color"
value="Blue"> Blue
<br><input type="checkbox" name="Favorite_Color"
value="Yellow" checked> Yellow
Use the [Value_List] ... [/Value_List] and [Value_ListItem] tags to generate radio buttons with the appropriate values and the [Checked] to ensure that the proper radio buttons are selected, based upon the current field values.
The following example creates a series of radio buttons for the Favorite_Color field. The results show Yellow selected as the favorite color.
[Value_List: 'Favorite_Color']
<br><input type="radio" name="Favorite_Color"
value="[Value_ListItem]" [Checked]> [Value_ListItem]
[/Value_List]
<br><input type="radio" name="Favorite_Color"
value="Red"> Red
<br><input type="radio" name="Favorite_Color"
value="Blue"> Blue
<br><input type="radio" name="Favorite_Color"
value="Yellow" checked> Yellow
Tag Link | [Checked] | Category | Database |
---|---|---|---|
Type | Substitution | Data Source | FMP |
Support | Preferred | Version | 1.0 |
Output Type | String | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x,LDML25,LDML20,LDML1x |
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