Add a List Box Control to a Form
Use the Form Editor (accessed from within a Blueprint in CSM Administrator) to add a List Box Control to a Form.
Good to know:
- A List Box Control is highly configurable. You can add or many to a Form, then define the associated Field, how to order the values in the list, and whether or not to use images and colors next to each value to help identify them. You can also define how the list box looks and behaves on the Form (ex: Text, tooltip, size, color, border style, image, alignment, anchoring, layering, visibility, enabling/disabling, and tab order).
- See Form Editor Behaviors for tips on working with Controls and the Form Editor.
To add a List Box Control to a Form:
- Open a Form in the Form Editor.
- Drag-and-drop the List Box Control from the Standard Control tree onto the Form.
- Define what will be listed in the List Box:
- Right-click the
Link Label Control, and then select
Control Properties.
- Define List Box properties:
- Associated Field:
Select the Field whose values to display in the List Box.
- Sort By:
Select the Field to use to order the values, as well as an ascending (ex: 0-10, A-Z) or descending (10-0, Z-A) order. Rarely will the alphabetical order match the order in which the values should appear in your item, unless you prefix the values with numbers or letters (example: For status, you would likely want lifecycle order, not alphabetical order); therefore, it is common to define a field that contains a sequence number purely for controlling the order (ex: Status Order).
- (Optional) Show Image for Each Item:
Select this check box to display an image next to each item, and then define an Expression to determine which image to display and when to display it.
- (Optional) Set Color for Each Item:
Select this check box to display an image next to each item, and then define an Expression to determine which color to display and when to display it.
- Associated Field:
- Right-click the
Link Label Control, and then select
Control Properties.
- Define how the Form Control looks and behaves on the Form (ex: Size, alignment, etc.).
- Publish the Blueprint (File>Publish Blueprint) to commit the changes, or save the Blueprint (File>Save Blueprint) to continue making other changes.