fixed non empty text constraint with null data
fixed nonemptytext constraint and changed array syntax to []