Answers.Body: <p>Registration form errors <strong>only display for <code>password</code> when logged out</strong>. If you're logged in as admin they won't display.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-31T16:44:44.003Z
Answers.LastActivityDate: 2015-07-31T16:44:44.003Z
Answers.UserDisplayName: Rob
Body: <p><strong>Update</strong> For anyone else having a braindead moment, registration form errors only display for <code>password</code> when logged out. If you're logged in as admin they won't display.</p>
  
  <p>User posted even though using an empty password. According to <a href="https://craftcms.stackexchange.com/questions/3060/what-password-requirements-exist-for-new-users">this post</a> and <a href="http://buildwithcraft.com/docs/templating/user-registration-form" rel="nofollow noreferrer">this form template</a> an empty password box (or less than 6 characters) should fail and return an error yes?</p>
  
  <pre><code>&lt;div class="grid-item 1/1"&gt;
      &lt;div class="grid-item xs-1/1 md-1/3 mb"&gt;
          &lt;label class="form-label" for="password"&gt;Password&lt;/label&gt;&lt;/h3&gt;
          &lt;input id="password" class="form-input" type="password" name="password"&gt;
        &lt;small&gt;6 characters or more — keep it secret, keep it safe.&lt;/small&gt;
  
            {% if account is defined %}
              {{ errorList(account.getErrors('password')) }}
            {% endif %}
        &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;input class="btn btn-primary" type="submit" value="Register"&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Screenshots:</p>
  
  <p><a href="https://i.sstatic.net/iLqvJ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/iLqvJ.png" alt="No error messages"></a></p>
  
  <p><a href="https://i.sstatic.net/syaRY.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/syaRY.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-29T20:24:29.820Z
Comments.Text: This is for new user registration? Can you share the entire form?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-31T13:47:24.543Z
Comments.Text: Yes, new user registration. I've also tried the exact same form from the docs, this one is only modifying the layout and registration button `value`. Should there be a password `value` with `{%- if account is defined %} value="{{ account.password }}"{% endif %}`?
Comments.UserDisplayName: Rob
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-31T16:24:27.400Z
Comments.Text: `firstName` and `lastName` don't return errors either, but I assume that's because they're not required in CP and they do post. Would it be wise to use a custom jQuery plugin, or is there a bug with your error console?
Comments.UserDisplayName: Rob
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-31T16:37:33.443Z
Comments.Text: Scrap this, I've been logged in as admin. Password error only gets flagged when creating an account as a regular new user. Oops.
Comments.UserDisplayName: Rob
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-31T16:41:30.127Z
Comments.Text: I'm only laughing because I've done the same thing myself a dozen times. Wanna go ahead and add that as the official answer?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-07-31T16:43:51.917Z
Comments.Text: Haha, yeah I will do! And to the Mandrill post also, which is the same deal. Maybe you need a console error for `stop being a derp` :p
Comments.UserDisplayName: Rob
Tags: <error-message><error><registration><password>
Title: Password should fail on front-end registration form
ThreadText: # Password should fail on front-end registration form
  
  (Asked by: username_0 on 2015-07-29)
  
  **Update** For anyone else having a braindead moment, registration form errors only display for `password` when logged out. If you're logged in as admin they won't display.
  
  User posted even though using an empty password. According to [this post](https://craftcms.stackexchange.com/questions/3060/what-password-requirements-exist-for-new-users) and [this form template](http://buildwithcraft.com/docs/templating/user-registration-form) an empty password box (or less than 6 characters) should fail and return an error yes?
  
  ```
  <div class="grid-item 1/1">
      <div class="grid-item xs-1/1 md-1/3 mb">
          <label class="form-label" for="password">Password</label></h3>
          <input id="password" class="form-input" type="password" name="password">
        <small>6 characters or more — keep it secret, keep it safe.</small>
  
            {% if account is defined %}
              {{ errorList(account.getErrors('password')) }}
            {% endif %}
        </div>
      </div>
  
      <input class="btn btn-primary" type="submit" value="Register">
      </form>
  </div>
  
  ```
  
  Screenshots:
  
  [![No error messages](https://i.sstatic.net/iLqvJ.png)](https://i.sstatic.net/iLqvJ.png)
  
  [![enter image description here](https://i.sstatic.net/syaRY.png)](https://i.sstatic.net/syaRY.png)
  
  **Tags:** error-message, error, registration, password
  
  > **Comments:**
  > **username_1**: This is for new user registration? Can you share the entire form?  
  > **username_0**: Yes, new user registration. I've also tried the exact same form from the docs, this one is only modifying the layout and registration button `value`. Should there be a password `value` with `{%- if account is defined %} value="{{ account.password }}"{% endif %}`?  
  > **username_0**: `firstName` and `lastName` don't return errors either, but I assume that's because they're not required in CP and they do post. Would it be wise to use a custom jQuery plugin, or is there a bug with your error console?  
  > **username_0**: Scrap this, I've been logged in as admin. Password error only gets flagged when creating an account as a regular new user. Oops.  
  > **username_1**: I'm only laughing because I've done the same thing myself a dozen times. Wanna go ahead and add that as the official answer?  
  > **username_0**: Haha, yeah I will do! And to the Mandrill post also, which is the same deal. Maybe you need a console error for `stop being a derp` :p  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2015-07-31. Score: 1 | Accepted answer
  
  Registration form errors **only display for `password` when logged out**. If you're logged in as admin they won't display.
  
  
  ---
  
  