parsley.min.js code example
Example 1: parsley js decimal
<form class="form-horizontal" method="post" action="" data-parsley-validate>
<input id="textinput" name="salary" type="number" step="0.01" required class="form-control input-md" value=<c:out value="${designationInfo.salary}"/> >
</form>
Example 2: parsley custom error message
return $.Deferred().reject("custom message");