Implements validation rules that accept arguments: maxlen, minlen, sameas.
Implements validation rules that accept arguments: maxlen, minlen, sameas.