Editor: Add "empty" select option to dropdown list

Editor: Add "empty" select option to dropdown list

kmboninkmbonin Posts: 59Questions: 16Answers: 0

Is there a way to add an empty option ("Select a value") to a dropdown list? I have a dd list with values from a left-joined table, and all empty/blank/null values default to the first value in the list. I want to default the values, if null, to a blank/empty option that says something like "Select" or "Select a Value" and not force the user to pick a list value.

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,819Questions: 1Answers: 10,517 Site admin
    Answer ✓

    Yes, using the placeholder option of the select field type.

    Allan

This discussion has been closed.