var siteMasterModule = (function () {
    
    $('#siteMasterForm').bootstrapValidator({
        // To use feedback icons, ensure that you use Bootstrap v3.1.0 or later
        feedbackIcons: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            sitecode: {
                message: 'The sitecode is not valid',
                validators: {
                    notEmpty: {
                        message: 'The Site Code is required and cannot be empty'
                    }
                }
            },
            sitename: {
                message: 'The site name is not valid',
                validators: {
                    notEmpty: {
                        message: 'The site name is required and cannot be empty'
                    }
                }
            }
        }
    });



})();