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

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -