fix form field empty validation
Merge pull request #1070 from mariansollmann/issue-1070

fix form field empty validation