Body: <p>I have a custom registration form in my Craft site based on this info.
  <a href="https://docs.craftcms.com/v2/templating/user-registration-form.html" rel="nofollow noreferrer">https://docs.craftcms.com/v2/templating/user-registration-form.html</a></p>
  
  <p>And I want to show error message when the password doesn't meet the requirement.</p>
  
  <p>First of all, I made a password requirement like here, and defined a few error messages.
  <a href="https://craftcms.stackexchange.com/questions/12165/how-do-i-enforce-stronger-password-requirements-on-my-craft-site">How do I enforce stronger password requirements on my Craft site?</a></p>
  
  <p>However, no error message appears even if the password is not fine.
  Just the form redirects to the same form page, without any message.</p>
  
  <p>So, could you tell me how to set the error message?</p>
  
  <p>Please not that it works fine in the login form to dashboard, like here;
  {SiteURL}/admin/</p>
  
  <ul>
  <li>My Craft version is 2.7</li>
  </ul>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-27T21:39:43.380Z
Comments.Text: Can you edit the question to show us the plugin code you're using as well as the template code?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-10-30T16:26:57.240Z
Comments.Text: Do you mean the code for password restriction? Then, it is almost the same as my second link.
Comments.UserDisplayName: Kota.M
Tags: <form><error-message>
Title: Error message regarding password in user registration form
ThreadText: # Error message regarding password in user registration form
  
  (Asked by: username_0 on 2018-10-25)
  
  I have a custom registration form in my Craft site based on this info.
  <https://docs.craftcms.com/v2/templating/user-registration-form.html>
  
  And I want to show error message when the password doesn't meet the requirement.
  
  First of all, I made a password requirement like here, and defined a few error messages.
  [How do I enforce stronger password requirements on my Craft site?](https://craftcms.stackexchange.com/questions/12165/how-do-i-enforce-stronger-password-requirements-on-my-craft-site)
  
  However, no error message appears even if the password is not fine.
  Just the form redirects to the same form page, without any message.
  
  So, could you tell me how to set the error message?
  
  Please not that it works fine in the login form to dashboard, like here;
  {SiteURL}/admin/
  
  * My Craft version is 2.7
  
  **Tags:** form, error-message
  
  > **Comments:**
  > **username_1**: Can you edit the question to show us the plugin code you're using as well as the template code?  
  > **username_0**: Do you mean the code for password restriction? Then, it is almost the same as my second link.  
  
  ---
  
  ## 0 answers
  
  