LassoScript Utility
Basics Browse Detail

[Value_List] ... [/Value_List]

Tag Link [Value_List] ... Category Database
Type Container Source Available No
Support Preferred Version 3.0
Change Unchanged Data Source Lasso MySQL, FileMaker Pro
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x


[Value_List] ... [/Value_List] repeats for each value in the named value list. Requires a single parameter, the name of a field from the current table which has a value list assigned to it. Can be used with value list fields in FileMaker, or with SET or ENUM field types in MySQL.


[Value_List: 'Field_Name']


Required Parameters
Field_Name The name of the database field for which the value list should be retrieved.

Change Notes

These tags now support displaying ENUM or SET value lists from MySQL data sources.


To display a pop-up menu with values from a value list:

Use the [Value_List] ... [/Value_List] and [Value_ListItem] tag. The following example creates a pop-up menu with a single selected item selected.

<select name="Title">
[Value_List: 'Title']
  <option value="[Value_ListItem]" [Selected]> [Value_ListItem] </option>