I'm using jquery form validator to validate some data on server side. my code is like
HTML :
<input data-validation="server" data-validation-url="/validate" name="vip_ip" type="text" id="vip_ip">
<script type="text/javascript" src="{{ URL::asset('js/form.js') }}"></script>
<script type="text/javascript" src="{{ URL::asset('js/jquery.form-validator.min.js') }}"></script>
Form.js :
$(function($) {
$.validate({
borderColorOnError: '',
lang: 'fr'
});
This is the error that the validator throws on the console :
Uncaught Error: Using undefined validator "validate_server"
I dont understand why the plugin adds this validate prefix. whice prevents the validation from working.
thanks for your help.