List: combobox
List
Each item is declared using the ListItem tag. There must be at least one ListItem.
![](../__attachments/108658709/image-20230201-215624.png?inst-v=09ae89cb-a072-4703-802f-2068032601f6)
XML
|
The content of the field can also be generated by assigning a single ListItem an automation List:
<List Name='ForListItems' Action="SetVar" Choice="List Item 1"/>
<List Name='ForListItems' Action="SetVar" Choice="List Item 2" ChoiceLabel="Label for List item 2"/>
<List Name='ForListItems' Action="SetVar" Choice="List Item 3"/>
<List Name='ForListItems' Action="SetVar" Choice="List Item 4"/>
<userinput Title='Title'>
<Variable Name="List" Type="List" Label="List" Value="List item 1" Tooltip="List tooltip">
<ListItem Label='ChoiceLabel' Value='Choice' ListName='ForListItems'/>
</Variable>
</userinput>