Add addError method for reg.form object