<div class="input-group">
<span>密 码:</span>
<input type="password" class="form-control" placeholder="由6~16英文和数字组成" id="pwd" name="pwd"
data-rule="required;length[6~16]"
data-ok="这样就ok啦!"
data-msg-required="您还没有填写该处!">
<span class="msg-box n-bottom" style=" position: relative; margin-left:20px; opacity:0.8" for="pwd"></span>
</div>
如果没有name=“pwd”可能会出乱七八糟的错误