$(document).ready(function() {
    $('#payNowForm').formValidation({
        framework: 'bootstrap',
        excluded: ':disabled',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            txnid: {
                validators: {
                    notEmpty: {
                        message: 'Transaction Id is required'
                    },
                }
            },
        }
    });
    $('#changePasswordForm').formValidation({
        framework: 'bootstrap',
        excluded: ':disabled',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            email: {
                validators: {
                    notEmpty: {
                        message: 'Email is required'
                    },
                    emailAddress: {
                        message: 'Input is not a valid email address'
                    },
                }
            },
            password: {
                validators: {
                    notEmpty: {
                        message: 'The password is required'
                    }
                }
            },
            new_password: {
                validators: {
                    notEmpty: {
                        message: 'The new password is required'
                    }
                }
            },
            confirm_password: {
                validators: {
                    notEmpty: {
                        message: 'The confirm password is required'
                    },
                    identical: {
                        field: 'new_password',
                        message: 'Your passwords do not match'
                    }
                }
            },
        }
    });
});

$(document).ready(function() {
    $('#login-form').formValidation({
        framework: 'bootstrap',
        excluded: ':disabled',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            email: {
                validators: {
                    notEmpty: {
                        message: 'Email is required'
                    },
                    /*emailAddress: {
                        message: 'Input is not a valid email address'
                    },*/
                }
            },
            password: {
                validators: {
                    notEmpty: {
                        message: 'Password is required'
                    },
                }
            }
        }
    });
});

$(document).ready(function() {
    $('#register-form').formValidation({
        framework: 'bootstrap',
        excluded: ':disabled',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            email: {
                validators: {
                    notEmpty: {
                        message: 'Email is required'
                    },
                    emailAddress: {
                        message: 'Input is not a valid email address'
                    },
                }
            },
            name: {
                validators: {
                    notEmpty: {
                        message: 'First Name is required'
                    },
                    // regexp: {
                    //     regexp: /^[a-zA-Z\s]+$/i,
                    //     message: 'Name can only consist of only alphabetical charecters'
                    // }
                }
            },
            last_name: {
                validators: {
                    notEmpty: {
                        message: 'Last Name is required'
                    },
                    // regexp: {
                    //     regexp: /^[a-zA-Z\s]+$/i,
                    //     message: 'Name can only consist of only alphabetical charecters'
                    // }
                }
            },
            terms: {
                validators: {
                    notEmpty: {
                        message: 'Please accept terms & conditions'
                    },
                }
            },
            gender: {
                validators: {
                    notEmpty: {
                        message: 'Gender is required'
                    },
                }
            },
            address: {
                validators: {
                    notEmpty: {
                        message: 'Please enter your full address'
                    },
                }
            },
            // address2: {
            //     validators: {
            //         notEmpty: {
            //             message: 'Please enter your building name'
            //         },
            //     }
            // },
            pincode: {
                validators: {
                    notEmpty: {
                        message: 'Please enter your postal code'
                    },
                    numeric: {
                        message: 'Postal code must be a number'
                    },
                    stringLength: {
                         max: 6,
                        message: 'Postal code must be 6 digits'
                    }
                }
            },
            country: {
                validators: {
                    notEmpty: {
                        message: 'Please select country'
                    },
                }
            },
            dob: {
                validators: {
                    notEmpty: {
                        message: 'Date of birth is required'
                    },
                }
            },
            password: {
                validators: {
                    notEmpty: {
                        message: 'Password is required'
                    },
                }
            },
            confirm_password: {
                validators: {
                    notEmpty: {
                        message: 'Confirm Password is required'
                    },
                    identical: {
                        field: 'password',
                        message: 'Your passwords do not match'
                    }
                }
            },
            mobile_no: {
                validators: {
                    notEmpty: {
                        message: 'Mobile No. is required'
                    },
                    // numeric: {
                    //     message: 'Mobile No. must be a number'
                    // },
                    stringLength: {
                         min: 8,
                         max: 8,
                         message: 'Mobile number length should 8 digits'
                    }
                }
            },
        }
    });
});
$(document).ready(function() {
    $('#forget-password').formValidation({
        framework: 'bootstrap',
        excluded: ':disabled',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            email: {
                validators: {
                    notEmpty: {
                        message: 'Email is required'
                    },
                    emailAddress: {
                        message: 'Input is not a valid email address'
                    },
                }
            },
        }
    });
});
$(document).ready(function() {
    $('#discount-coupon-form').formValidation({
        framework: 'bootstrap',
        excluded: ':disabled',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            coupon_code: {
                validators: {
                    notEmpty: {
                        message: 'Coupon Code is required'
                    },
                }
            },
        }
    });
});

$(document).ready(function() {
    $('#saveUserProfileForm').formValidation({
        framework: 'bootstrap',
        excluded: ':disabled',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            name: {
                validators: {
                    notEmpty: {
                        message: 'Name is required'
                    },
                    regexp: {
                        regexp: /^[a-zA-Z\s]+$/i,
                        message: 'Name can only consist of only alphabetical charecters'
                    }
                }
            },
            mobile_no: {
                 validators: {
                    notEmpty: {
                        message: 'The Mobile No. is required'
                    },
                    // numeric: {
                    //     message: 'The Mobile No. must be a number'
                    // },
                    stringLength: {
                         min: 8,
                         max: 8,
                        message: 'The Mobile No. must be 8 digits'
                    }
                }
            },
            email: {
                validators: {
                    notEmpty: {
                        message: 'Email is required'
                    },
                    emailAddress: {
                        message: 'Input is not a valid email address'
                    },
                }
            },
            terms: {
                validators: {
                    notEmpty: {
                        message: 'Terms & conditions is required'
                    },
                }
            },
        }
    });
});


$(document).ready(function() {
    $('#billAddressForm').formValidation({
        framework: 'bootstrap',
        excluded: ':disabled',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            bname: {
                validators: {
                    notEmpty: {
                        message: 'Name is required'
                    },
                    regexp: {
                        regexp: /^[a-zA-Z\s]+$/i,
                        message: 'Name can only consist of only alphabetical charecters'
                    }
                }
            },
            bemail: {
                validators: {
                    notEmpty: {
                        message: 'Email is required'
                    },
                    emailAddress: {
                        message: 'Input is not a valid email address'
                    },
                }
            },
            bmobile_no: {
                 validators: {
                    notEmpty: {
                        message: 'The Mobile No. is required'
                    },
                    // numeric: {
                    //     message: 'The Mobile No. must be a number'
                    // },
                    stringLength: {
                         min: 8,
                         max: 8,
                        message: 'The Mobile No. must be 8 digits'
                    }
                }
            },
            baddress1: {
                validators: {
                    notEmpty: {
                        message: 'Address Password is required'
                    },
                }
            },
            bpincode: {
                validators: {
                    notEmpty: {
                        message: 'Postal code is required'
                    },
                    regexp: {
                        regexp: /^[0-9]+$/i,
                        message: 'Postal code can consist only numeric characters'
                    },
                }
            },
            bstate: {
                validators: {
                    notEmpty: {
                        message: 'State is required'
                    },
                }
            },
            bcity: {
                validators: {
                    notEmpty: {
                        message: 'City is required'
                    },
                }
            }
        }
    });
});

$(document).ready(function() {
    $('#shippAddressForm').formValidation({
        framework: 'bootstrap',
        excluded: ':disabled',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            sname: {
                validators: {
                    notEmpty: {
                        message: 'Name is required'
                    },
                    regexp: {
                        regexp: /^[a-zA-Z\s]+$/i,
                        message: 'Name can only consist of only alphabetical charecters'
                    }
                }
            },
            semail: {
                validators: {
                    notEmpty: {
                        message: 'Email is required'
                    },
                    emailAddress: {
                        message: 'Input is not a valid email address'
                    },
                }
            },
            smobile_no: {
                 validators: {
                    notEmpty: {
                        message: 'The Mobile No. is required'
                    },
                    // numeric: {
                    //     message: 'The Mobile No. must be a number'
                    // },
                    stringLength: {
                         min: 8,
                         max: 8,
                        message: 'The Mobile No. must be 8 digits'
                    }
                }
            },
            saddress1: {
                validators: {
                    notEmpty: {
                        message: 'Address Password is required'
                    },
                }
            },
            spincode: {
                validators: {
                    notEmpty: {
                        message: 'Postal code is required'
                    },
                    regexp: {
                        regexp: /^[0-9]+$/i,
                        message: 'Postal code can consist only numeric characters'
                    },
                }
            },
            sstate: {
                validators: {
                    notEmpty: {
                        message: 'State is required'
                    },
                }
            },
            scity: {
                validators: {
                    notEmpty: {
                        message: 'City is required'
                    },
                }
            }
        }
    });
});


$(document).ready(function() {
    $('#notifyForm').formValidation({
        framework: 'bootstrap',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            email: {
                validators: {
                    notEmpty: {
                        message: 'Email is Required.'
                    },
                    emailAddress: {
                        message: 'Input is not a valid email address'
                    },
                }
            },
            mobile_no: {
                validators: {
                    notEmpty: {
                        message: 'Mobile Number is Required.'
                    },
                    // regexp: {
                    //     regexp: /^[0-10]+$/i,
                    //     message: 'Mobile Number can consist only numeric characters'
                    // },
                    stringLength: {
                        min: 8,
                        max: 8,
                        message: 'The Mobile number length should 10 characters'
                    }
                }
            },
        }
    });
});

$(document).ready(function() {
    $('#contactUsForm').formValidation({
        framework: 'bootstrap',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            name: {
                validators: {
                    notEmpty: {
                        message: 'Name is Required.'
                    },
                    regexp: {
                        regexp: /^[a-zA-Z\s]+$/i,
                        message: 'Name can only consist of only alphabetical charecters'
                    }
                }
            },
            email: {
                validators: {
                    notEmpty: {
                        message: 'Email is Required.'
                    },
                    emailAddress: {
                        message: 'Input is not a valid email address'
                    },
                }
            },
            phone: {
                validators: {
                    notEmpty: {
                        message: 'The Mobile No. is required'
                    },
                    // numeric: {
                    //     message: 'The Mobile No. must be a number'
                    // },
                    stringLength: {
                         min: 8,
                         max: 8,
                        message: 'The Mobile No. must be 8 digits'
                    }
                }
            },
            message: {
                validators: {
                    notEmpty: {
                        message: 'Message is Required.'
                    },
                }
            },
        }
    });
});


$(document).ready(function() {
    $('#checkout-form').formValidation({
        framework: 'bootstrap',
        excluded: ':disabled',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            bname: {
                validators: {
                    notEmpty: {
                        message: 'Name is required'
                    },
                    //  regexp: {
                    //     regexp: /^[a-zA-Z\s]+$/i,
                    //     message: 'Name can only consist of only alphabetical charecters'
                    // }
                }
            },
            /*blname: {
                validators: {
                    notEmpty: {
                        message: 'Last Name is required'
                    },
                    //  regexp: {
                    //     regexp: /^[a-zA-Z\s]+$/i,
                    //     message: 'Name can only consist of only alphabetical charecters'
                    // }
                }
            },*/

            bmobile_no: {
                validators: {
                    notEmpty: {
                        message: 'Contact No. is required'
                    },
                    // numeric: {
                    //     message: 'Contact No. must be a number'
                    // },
                    stringLength: {
                         min: 8,
                         max: 8,
                        message: 'Contact No. must be 8 digits'
                    }
                }
            },
            bemail: {
                validators: {
                    notEmpty: {
                        message: 'Email is required'
                    },
                    emailAddress: {
                        message: 'Input is not a valid email address'
                    },
                }
            },
            baddress1: {
                validators: {
                    notEmpty: {
                        message: 'Address is required'
                    }
                }
            },
            baddress2: {
                validators: {
                    notEmpty: {
                        message: 'Unit No. is required'
                    }
                }
            },
            // bcity: {
            //     validators: {
            //         notEmpty: {
            //             message: 'City is required'
            //         }
            //     }
            // },
            // bstate: {
            //     validators: {
            //         notEmpty: {
            //             message: 'State is required'
            //         }
            //     }
            // },
            payment_method: {
                validators: {
                    notEmpty: {
                        message: 'Please Select Payment Method'
                    }
                }
            },
            bpincode: {
                validators: {
                    notEmpty: {
                        message: 'Postal code is required'
                    },
                    regexp: {
                        regexp: /^[0-9]+$/i,
                        message: 'Postal code can consist only numeric characters'
                    },
                }
            }
        }
    });
});


$(document).ready(function() {
    $('#orderTrackingForm').formValidation({
        framework: 'bootstrap',
        excluded: ':disabled',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            tracking_id: {
                validators: {
                    notEmpty: {
                        message: 'Tracking ID is required'
                    },
                }
            },
        }
    });
});


$(document).ready(function() {
    $('#mycontactUsForm').formValidation({
        framework: 'bootstrap',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            first_name: {
                validators: {
                    notEmpty: {
                        message: 'First Name is required.'
                    },
                    // regexp: {
                    //     regexp: /^[a-zA-Z\s]+$/i,
                    //     message: 'Name can only consist of only alphabetical charecters'
                    // },
                    // stringLength: {
                    //      min: 3,
                    //      max: 20,
                    //     message: 'Name must be 3 to 20 words'
                    // }
                }
            },
            last_name: {
                validators: {
                    notEmpty: {
                        message: 'Last Name is required.'
                    },
                    // regexp: {
                    //     regexp: /^[a-zA-Z\s]+$/i,
                    //     message: 'Last Name can only consist of only alphabetical charecters'
                    // }
                }
            },

            phone: {
                validators: {
                    notEmpty: {
                        message: 'Phone No. is required.'
                    },
                    numeric: {
                        message: 'Phone No. must be a number.'
                    },
                    // regexp:{
                    //     regexp: /^(?:(?:\+|0{0,2})91(\s*[\-]\s*)?|[0]?)?[6789]\d{9}$/,
                    //     message: 'Please Enter a Valid Phone Number, Start With 6-9 and must have 8 digits'
                    // },
                     stringLength: {
                         min: 8,
                         max: 8,
                         message: 'Phone number length should be 8 digits.'
                     }
                }
            },
            email: {
                validators: {
                    notEmpty: {
                        message: 'Email is required.'
                    },
                    regexp: {
                        regexp: /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/i,
                        message: 'Please enter a valid email address.'
                    }
                }
            },

           /* website: {
                validators: {
                    notEmpty: {
                        message: 'Website Url is Required.'
                    },
                }
            },  */
            city: {
                validators: {
                    notEmpty: {
                        message: 'City name is required.'
                    },
                    stringLength: {
                         min: 3,
                         max: 20,
                        message: 'Email must be 3 to 20 words'
                    }
                }
            }, 
             state: {
                validators: {
                    notEmpty: {
                        message: 'State name is required.'
                    },
                }
            },
            //  problem: {
            //     validators: {
            //         notEmpty: {
            //             message: 'Problem is Required.'
            //         },
            //     }
            // },
            //  image: {
            //     validators: {
            //         notEmpty: {
            //             message: 'Field is Required.'
            //         },
            //     }
            // },
            
            message: {
                validators: {
                    notEmpty: {
                        message: 'Message is required.'
                    },
                    // regexp: {
                    //     regexp: /^[a-zA-Z\s]+$/i,
                    //     message: 'Message can only consist of only alphabetical charecters'
                    // },
                    // stringLength: {
                    //      min: 3,
                    //      max: 300,
                    //     message: 'Message must be 3 to 300 words'
                    // }
                }
            },
        }
    });
});
$(document).ready(function() {
    $('#newsletterForm').formValidation({
        framework: 'bootstrap',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            email: {
                validators: {
                    notEmpty: {
                        message: 'Email is required'
                    },
                    emailAddress: {
                        message: 'Please enter a valid email address'
                    },
                }
            },
        }
    });
    $('#newsletterForm1').formValidation({
        framework: 'bootstrap',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            email: {
                validators: {
                    notEmpty: {
                        message: 'Email is required'
                    },
                    emailAddress: {
                        message: 'Please enter a valid email address'
                    },
                }
            },
        }
    });
});




$(document).ready(function() {
    $('#businessForm').formValidation({
        framework: 'bootstrap',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            name: {
                validators: {
                    notEmpty: {
                        message: 'Name is Required.'
                    },
                    regexp: {
                        regexp: /^[a-zA-Z\s]+$/i,
                        message: 'Name can only consist of only alphabetical charecters'
                    },
                    stringLength: {
                         min: 3,
                         max: 20,
                         message: 'Name be 3 to 20 words'
                    }
                }
            },
            lastname: {
                validators: {
                    notEmpty: {
                        message: 'Last Name is Required.'
                    },
                    regexp: {
                        regexp: /^[a-zA-Z\s]+$/i,
                        message: 'Last Name can only consist of only alphabetical charecters'
                    },

                    stringLength: {
                         min: 3,
                         max: 20,
                         message: 'Last Name be 3 to 20 words'
                    }
                }
            },

             phone: {
                validators: {
                    notEmpty: {
                        message: 'The Mobile No. is required'
                    },
                    numeric: {
                        message: 'The Mobile No. must be a number'
                    },
                    regexp:{
                        regexp: /^(?:(?:\+|0{0,2})91(\s*[\-]\s*)?|[0]?)?[6789]\d{9}$/,
                        message: 'Please Enter a Valid Phone Number, Start With 6-9 and must have 8 digits'
                    }
                }
            },
            email: {
                validators: {
                    notEmpty: {
                        message: 'email is required'
                    },
                    regexp: {
                        regexp: /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/i,
                        message: 'Please enter a valid email address'
                    },

                    stringLength: {
                         min: 3,
                         max: 30,
                        message: 'E-mail must be 3 - 30 words'
                    }
                }
            },

           /* website: {
                validators: {
                    notEmpty: {
                        message: 'Website Url is Required.'
                    },
                }
            },  */
            city: {
                validators: {
                    notEmpty: {
                        message: 'City Name is Required.'
                    },
                    regexp: {

                        regexp: /^[a-zA-Z\s]+$/i,

                        message: 'City can only consist of only alphabetical charecters'

                    },
                    stringLength: {
                         min: 3,
                         max: 30,
                         message: 'City must be 3 to 30 words'
                    }
                }
            }, 
             address: {
                validators: {
                    notEmpty: {
                        message: 'Address is Required.'
                    },

                     stringLength: {
                         min: 3,
                         max: 150,
                         message: 'Address must be 3 to 150 words'
                    }
                }
            },
             appartment: {
                validators: {
                    notEmpty: {
                        message: 'Appartment, suit, unit  is Required.'
                    },

                     stringLength: {
                         min: 3,
                         max: 30,
                         message: 'Appartment, suit, unit  must be 3 to 30 words'
                    }
                }
            },
             title: {
                validators: {
                    notEmpty: {
                        message: 'Title  is Required.'
                    },
                     stringLength: {
                         min: 3,
                         max: 30,
                         message: 'Title  must be 3 to 30 words'
                    }
                }
            },
             companyname: {
                validators: {
                    notEmpty: {
                        message: 'Company Name  is Required.'
                    },

                    stringLength: {
                         min: 3,
                         max: 30,
                         message: 'Company Name  must be 3 to 30 words'
                    }
                }
            },
             postal: {
                validators: {
                    notEmpty: {
                        message: 'Postal/Zip  is required'
                    },
                    numeric: {
                        message: 'Postal/Zip must be a number'
                    },
                    stringLength: {
                         min: 6,
                         max: 6,
                        message: 'Postal/Zip must be 6 digits'
                    }
                }
            },
             country: {
                validators: {
                    notEmpty: {
                        message: 'Country Name is Required.'
                    },
                    regexp: {

                        regexp: /^[a-zA-Z\s]+$/i,

                        message: 'Country can only consist of only alphabetical charecters'

                    },
                    stringLength: {
                         min: 3,
                         max: 30,
                        message: 'Country No. must be 3 to 30 words'
                    }
                }
            },
             organisation: {
                validators: {
                    notEmpty: {
                        message: 'Current Organisation  is Required.'
                    },

                     stringLength: {
                         min: 3,
                         max: 30,
                         message: 'Current Organisation must be 3 to 30 words'
                    }
                }
            },
             investment: {
                validators: {
                    notEmpty: {
                        message: 'Investment Size(in Rs.)  is Required.'
                    },
                    stringLength: {
                         min: 3,
                         max: 30,
                        message: 'Investment Size(in Rs.) must be 3 to 30 words'
                    }
                }
            },
            
            message: {
                validators: {
                    notEmpty: {
                        message: 'Message is Required.'
                    },
                    regexp: {
                        regexp: /^[a-zA-Z\s]+$/i,
                        message: 'Message can only consist of only alphabetical charecters'
                    }
                }
            },
        }
    });
});


$(document).ready(function() {
    $('#mycontactUsForm1').formValidation({
        framework: 'bootstrap',
        icon: {
            valid: 'glyphicon glyphicon-ok',
            invalid: 'glyphicon glyphicon-remove',
            validating: 'glyphicon glyphicon-refresh'
        },
        fields: {
            name: {
                validators: {
                    notEmpty: {
                        message: 'Name is Required.'
                    },
                    regexp: {
                        regexp: /^[a-zA-Z\s]+$/i,
                        message: 'Name can only consist of only alphabetical charecters'
                    },
                    stringLength: {
                         min: 3,
                         max: 20,
                        message: 'Name 3 to 20 words'
                    }
                }
            },
            /*lname: {
                validators: {
                    notEmpty: {
                        message: 'Last Name is Required.'
                    },
                    regexp: {
                        regexp: /^[a-zA-Z\s]+$/i,
                        message: 'Last Name can only consist of only alphabetical charecters'
                    }
                }
            },
*/
             age: {
                validators: {
                    notEmpty: {
                        message: 'The Age is required'
                    },
                    regexp: {

                        regexp: /^[0-9]+$/i,

                        message: 'Age can consist only numeric characters'

                    },
                    stringLength: {
                         min: 2,
                         max: 2,
                        //message: 'Age must be 2 digits'
                    }
                    
                }
            },
           

           weight: {
                validators: {
                    notEmpty: {
                        message: 'weight is Required.'
                    },
                    regexp: {

                        regexp: /^[0-9]+$/i,

                        message: 'Age can consist only numeric characters'

                    },
                    stringLength: {
                         min: 2,
                         max: 3,
                        //message: 'Age must be 2 digits'
                    }

                }
            },  
           /* city: {
                validators: {
                    notEmpty: {
                        message: 'City Name is Required.'
                    },
                }
            }, 
             state: {
                validators: {
                    notEmpty: {
                        message: 'State Name is Required.'
                    },
                }
            },
            
            message: {
                validators: {
                    notEmpty: {
                        message: 'Message is Required.'
                    },
                    regexp: {
                        regexp: /^[a-zA-Z\s]+$/i,
                        message: 'Message can only consist of only alphabetical charecters'
                    }
                }
            },*/
        }
    });
});