Creating Dynamic Contents for the Choice Control

Specify contents of the Choice control dynamically.

  1. In the Screen Design page, select the Choice item from Palette > Controls and drag it onto the screen.
  2. In the General Properties view for the Choice control, from the Options section, select Dynamic.
  3. In Value key, select the value for the key.
  4. In Display name key, select the value that the user will see on the device interface.
    Notes:
    • Each key must be unique; otherwise the names or value returned in the form are unpredictable. Because dynamic content is not resolved until runtime, the Designer cannot prevent you from entering duplicate value keys and display name keys.
    • The display name key and its associated value name key can be the same or different, but both must be children of a key that is a list type.