This support case addresses the following use case:
- When reporting an issue as a service request in Calem, they should select a priority and category specifically.
Dropdown fields are prefilled with the first value in the dropdown list or a pre-configured value by administrators. Calem is modified to require a user to select a dropdown value when the following conditions are met:
- The dropdown field is a required field.
- The dropdown field should not be prefilled with the first value in its dropdown list.
- The dropdown field does not have a pre-configured value.
Steps 1 and 2 has been done for "Priority" and "Category" in service request. Administrators can add the following to your Calem_Home/client/conf/CmConf.custom.js to turn off default values for these two fields:
- CmConf['sr_conf']['df_priority_id']=null;
- CmConf['sr_conf']['df_category_id']=null;
The following is the screenshot showing that both "Priority" and "Category" are shown as required fields:
.