If field is required and empty, then set error

Currently validation pass if field is required and is empty or not set. For me, this is wrong.
This changes shall fix that.