/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
$.validator.addMethod("valueNotEquals", function (value, element, arg) {
    return arg !== value;
}, "CAMPO REQUERIDO");

// validate signup form on keyup and submit
$("#formularioMS").validate({
    rules: {
        cvePla: {valueNotEquals: "default"},
        cveArea: {valueNotEquals: "default"},
        cveCatSem: {valueNotEquals: "default"},
        asunto: "required"
    },
    messages: {
        cvePla: {valueNotEquals: "*Campo obligatorio"},
        cveArea: {valueNotEquals: "*Campo obligatorio"},
        cveCatSem: {valueNotEquals: "*Campo obligatorio"},
        asunto: "*Campo requerido"
    }
});