// overwrite the default form submission handler with a custom one.
wf.functionName_formValidation = "customValidation";

//evt : onSubmit event
function customValidation(evt) {
	
	if(wf.formValidation(evt)) {
		
		wFORMS.functionName_formValidation = "myCustomValidation";
		
		new Effect.BlindUp('quote_part1',{queue:'front'});
		new Effect.BlindDown('quote_part2',{queue:'end'});
		
		// return wf.utilities.XBrowserPreventEventDefault(evt);
	} else {
		return wf.utilities.XBrowserPreventEventDefault(evt);
	}
}

// Change error message
wFORMS.behaviors['validation'].errMsg_custom = 'Please correct this field';