Check if list field has value

In case a form contains errors and the value of the list field is empty.