Single Choice List Gadgets
- Last UpdatedNov 14, 2022
- 1 minute read
You can set and get the current selection in a single-choice list using the display-text, replacement text, or .val member. For example:
!This.List.val =2 ‑ selects second list field
!This.List.Select( 'Dtext', 'Coffee' )
!This.List.Select( 'Rtext', 'drink4' )
!fieldNumber = !This.List.val
!Rtext = !This.List.selection()
!Dtext = !This.List.selection(‘Dtext’)