modify validator condition of string empty and not equal to 0