diff --git a/application/frontend/components/auth/auth.registration.tpl b/application/frontend/components/auth/auth.registration.tpl index 79342e60..da74e8d2 100644 --- a/application/frontend/components/auth/auth.registration.tpl +++ b/application/frontend/components/auth/auth.registration.tpl @@ -26,7 +26,7 @@ {component 'field' template='text' name = 'password' type = 'password' - rules = [ 'required' => true, 'minlength' => '5' ] + rules = [ 'required' => true, 'minlength' => '5', 'trigger' => 'input' ] label = $aLang.auth.labels.password inputClasses = 'js-input-password-reg'} @@ -34,7 +34,7 @@ {component 'field' template='text' name = 'password_confirm' type = 'password' - rules = [ 'required' => true, 'minlength' => '5', 'equalto' => '.js-input-password-reg', 'equalto-message' => {lang 'auth.registration.notices.error_password_equal'} ] + rules = [ 'required' => true, 'minlength' => '5', 'trigger' => 'input', 'equalto' => '.js-input-password-reg', 'equalto-message' => {lang 'auth.registration.notices.error_password_equal'} ] label = $aLang.auth.registration.form.fields.password_confirm.label} {* Каптча *}