You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adam Becker edited this page Aug 13, 2016
·
1 revision
Written for version 0.14.0
FormRenderer.t.errors.domain_invalid='Please enter an email ending in @dobt.co'varoldValidate=FormRenderer.Validators.IdentificationValidator.validate;FormRenderer.Validators.IdentificationValidator.validate=function(model){varoldValidationResult=oldValidate.apply(this,arguments);if(oldValidationResult)returnoldValidationResult;if(!model.get('value.email').match(/@dobt\.co$/)){return'domain_invalid';}}