Closed iromli closed 10 years ago
When form validation failed, the error message is populated in placeholder.
Unfortunately, it's hard to see the error message when the field is filled.
We need to move the error message into it's own HTML tag, e.g. :
<div class="form-group"> <div class="input-group input-group-sm"> <span class="input-group-addon">Email</span> <input type="email" class="form-control" placeholder="Required" id="email" name="email" value="" required /> <p>Error message</p> </div> </div>
When form validation failed, the error message is populated in placeholder.
Unfortunately, it's hard to see the error message when the field is filled.
We need to move the error message into it's own HTML tag, e.g. :