jquery - How to use putting validation message underneath a control using backbone validation -


i using backbone.validation.js

i able implement shown in demo here

enter image description here

so, able show error messages next field. want able show these message underneath controls.

i checked html generated these messages, reads

<span class="help-inline error-message">     please provide first name </span> 

i tried doing through css, gets little messy. wanted know if there provision may have missed.

please advice.

you should try remove help-inline class.
according documentation help-inline class feature:

you may use <input .... data-error-style="inline"> in form force rendering of <span class="help-inline">

so have remove/change data-error-style attribute.


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -