trouble with validation rules for specific input fields.

here's my code.. both work on it's own. but I can't seem to use both in the same form..
is that how it's supposed to work? 

$('.save-map-btn').evolutionValidation('addField', '#' + context.inputs.mapCenterLatId, {
        required: false,
        number: true,
        maxlength: 256,
        max: 90,
        min: -90,
        messages: {
            number: "must be a number",
             max: "Latitude range should be less than 90 (Decimal Degree, � 0.0� to 90.0�)",
             min: "Latitude range should be more than -90 (Decimal Degree, � 0.0� to 90.0�)"
        }
    }, $('#' + context.inputs.mapCenterLatId).closest('.field-item').find('.field-item-validation'), null);

$('.save-map-btn').evolutionValidation('addField',  '#' + context.inputs.mapCenterLngId, {
    required: false,
    number: true,
    maxlength: 256,
    max: 180,
    min: -180,
    messages: {
        number: "Must be a number, (Decimal Degree, � 0.0 to 180.0 without degree symbol)",
        max: "Longitude range should be less than 180 (Decimal Degree, � 0.0� to 180.0�)",
        min: "Longitude range should be more than -180 (Decimal Degree, � 0.0� to 180.0�)"
    }
}, $('#' + context.inputs.mapCenterLngId).closest('.field-item').find('.field-item-validation'), null);

the image below are the two input fields... which the Latitude should get the message when more than 90... but instead, it picks up the rule for max: 180 from the longitude.



another image
[edited by: Harley Parks at 10:14 PM (GMT 0) on Wed, Dec 2 2020]