add  blank: false on unique field