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

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
Post a Comment