Drop-down Lists

Updated on

If a field is configured in iMIS as a dropdown list, it will automatically be displayed as a dropdown list and associated with the dropdown values defined in iMIS from the General Lookup and Validation tables. Changes to the General Lookup and Validation tables are also automatically added to dropdown lists when updated in iMIS.

The following attributes are available on these Form Parts:
  • Read Only - Set the Form Part to read only.
  • Required Field - Require valid entry in the field.
  • Regular Expression - Control the acceptable values for the field. For Dropdown fields this can be used to limit the dropdown list to a subset.
  • Message - The optional message field can be used to display a more appropriate message than "Required". For example, "Please choose the option that best meets your needs."
  • Features - The following features are designed to work with dropdown lists
    • Allow Other - Checking this option will include an additional value of “Other" which is displayed below the standard dropdown list values if it selected in the dropdown list. If this option is selected by the user, a text box will be displayed to allow the user to type in their own value. This value will be stored in iMIS but will bypass validation checks.
    • Add as Text Field - This option allows you to always add the field as user-entered text. This allows a staff user to inspect the response and properly classify it after submission.
    • Save Description - Drop-down lists in iMIS have a Code or Expansion value associated with them that is stored in the database. Using the "Save Description" option overrides this behaviour and stores the description field value instead.
    • Free Text Search - For long drop-down lists this handy feature allows a user to start typing in a value and have matching options appear.
    • Sort by - The Sort By option controls how the dropdown list values are sorted. The default is to sort by the description field in ascending order. You can also sort by the Code value (e.g. to show a specific life cycle sequence) and use descending sorts as appropriate.

In some cases you may wish to present only a subset of your internal dropdown options on a web form. See Advanced Topics for ways you can update your form definition to use a different validation list if needed to present to an external audience.