It seems like even a correctly-filled field triggers an empty input error because variable about empty error is always True.