/**
 * Add a function for validating the name block to the form object
 * 
 * @author Joshua Smith
 * 
 * @param {String} prefix The prefix of the block, including the section prefix. Will be used to build the name of the form fields
 * @param {Boolean} required Indicates whether or not the fields are required for the form
 */

$(document).ready(function() {
	$.validator.addClassRules("form_block_phone_three", { digits:true, minlength:3 });
	$.validator.addClassRules("form_block_phone_four", { digits:true, minlength:4 });
});
