No value in Form Dropdown

Problem

There are no values appearing in a dropdown field in a form

Possible Reasons

  1. Configuration of field is not correctly done

  2. There are no values in the list of values

  3. There are no values in the table

Resolution

  1. Login with Administrative privilege

First Check Configuration

  1. Navigate to Configuration > Form

  2. Search for the form and View the form

  3. Click on Form Keys tab

  4. Search for the field which is having dropdown issue

  5. Check the following fields: drop down type

  6. If drop down type is empty then set the value for this field

  7. If drop down type is "LOV" then select LOV Type, Display Value shall be "displayValue" and Drop Down Select value shall be "displayValue" or "languageIndependentCode" depending on your site is multi-lingual or not. If it is not multi-lingual use "displayValue" in both

  8. If drop down type is "Table" then select Table name field and Display Value shall be "name" and Drop Down Select value shall be "id".

  9. Retry. If still there are no values in the dropdown check values in list of values or table

Check List of Values

  1. Navigate to Administration > List of Values

  2. Search the LOV Type used in the drop down

  3. Ensure there are values with active status

  4. If no values, enter values

Check Table

  1. Navigate to relevant table

  2. Check Values

  3. If no values, enter values

Last updated