Código Javascript:
Ver original
$(document).ready(function() { $('#loginForm').bootstrapValidator({ message: 'This value is not valid', feedbackIcons: { valid: 'glyphicon glyphicon-ok', invalid: 'glyphicon glyphicon-remove', validating: 'glyphicon glyphicon-refresh' }, submitHandler: function(validator, form, submitButton) { $.ajax({ url:'http://localhost/vona/public/postContacto', type:'post', data:form.serialize(), success: function(msg) { var result; if (msg == 'OK') { } else { } }, }); }, fields: { institucion: { validators: { notEmpty: { //message: 'The password is required' } } }, email: { validators: { notEmpty: { //message: 'The password is required' }, emailAddress: { //message: 'The phone number can contain digits only' } } } } });
que estoy haciendo mal?