Common Methods for Validation in JQuery Validation Plugin