nl_tokens: Rule for validating required fields .
pl_tokens: function required ( rule , value , source , errors , options , <mask> ) { if ( rule . required && ( ! source . hasOwnProperty ( rule . field ) || util . isEmptyValue ( value , type || rule . type ) ) ) { errors . push ( util . format ( options . messages . required , rule . fullField ) ) ; } }