

<!--

//
//***********************************************************************
// VALIDATE 
//
//		This function is called from the onSubmit handler. 
//		We determine the fields that need to be tested, and pass them
//		to the formValidation.validate function for validation.
//		
// 		With success we submit the form.
//		Otherwise we return to the form and allow the user to fix the 
//		input.
// 	@return boolean
// 	@called on form submission
//		
//************************************************************************
//
	function doValidate(){
		var fieldsToCheck = {
			formName:["create-profile-form"],
			requiredCheck:["accept-terms"]
		}
	
		if(validate(fieldsToCheck))
			return true;
			
		return false;
		
	}

-->

