Fixed broken check if label exists

If you activate the (JS) form validation and set a e.g. a field without a label to "required" you'll get an "empty" error (Invalid field: ).

=> Apply patch => test again