﻿var jFormConstants = function() { }

jFormConstants.prototype = {
    messages: {
        'username': {
            'empty': 'This field is mandatory',
            'invalidlength': 'Value length is invalid for this field',
            'invalidchars': 'Value contains invalid characters',
            'error': 'Error'
        },
        'email': {
            'empty': 'This field is mandatory',
            'invalidlength': 'Value length is invalid for this field',
            'invalidchars': 'Value contains invalid characters'
        },
        'password': {
            'empty': 'This field is mandatory',
            'invalidlength': 'Value length is invalid for this field',
            'invalidchars': 'Value contains invalid characters'
        },
        'numeric': {
            'empty': 'This field is mandatory',
            'invalidlength': 'Value length is invalid for this field',
            'invalidchars': 'Value contains invalid characters',
            'invalidrange': 'Value range is invalid for this field'
        },
        'numericrange': {
            'empty': 'This field is mandatory',
            'invalidlength': 'Value length is invalid for this field',
            'invalidchars': ' Value contains invalid characters',
            'invalidrange': 'Value range is invalid for this field'
        },
        'general': {
            'empty': 'This field is mandatory',
            'invalidlength': 'Value length is invalid for this field',
            'invalidchars': 'The value is not valid for this field'
        },
        'validrangeis': 'valid range is',
        'validlengthis': 'valid length is'
    }
};

