I use the plugin of JQuery ValidationEngine and i have "extras" validations for my form. For example: Validate if the AGE of the user is more of 18, If a name of a document already exists in my database (for this use ajax), etc..
Is there a way to create my own functions and call them using the Plugin? Can I call a function ajax with the plugin and show a personal message?
NOTE: I use PHP-Framework CodeIgniter
This is my ajax function
function validatedoc(){
    var doc = $('#doc').val();
    $.ajax({
    url:"panel_control/verify",
    type: 'POST',
    data:{
        doc: doc
    },
    dateType: "html",
    scriptCharset: "utf-8" ,
    async:false,
    success: function (response){
        if(response == 'equals'){
            $('#error_msj').html("Already Exists");
        }
    }
});
}
And already is active validationEngine
$("#form_id").validationEngine();
            $("#form_id").submit(function() {
                if ($("#form_id").validationEngine('validate')) {
                    $.blockUI({ message: "Procesing",
                    css: {
                        border: 'none',
                        padding: '15px',
                        backgroundColor: '#000',
                        '-webkit-border-radius': '10px',
                        '-moz-border-radius': '10px',
                        opacity: .5,
                        color: '#fff'
                    } });
                }
                });
Thanks! :D
