Set state of a field to success only when it's value is not empty