Subversion Repositories SmartDukaan

Rev

Rev 3182 | Rev 4609 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3182 Rev 3312
Line 41... Line 41...
41
	}
41
	}
42
	trackPaymentOptionFormSubmission();
42
	trackPaymentOptionFormSubmission();
43
	return true;
43
	return true;
44
}
44
}
45
 
45
 
-
 
46
function verifyCodSelectionForm(formName){
-
 
47
	var captcha_response_input = $("form[name='" + formName + "'] :input[name='recaptcha_response_field']");
-
 
48
	if(captcha_response_input.val() == ''){
-
 
49
		dispError("Please enter the characters shown.");
-
 
50
		return false;
-
 
51
	}
-
 
52
	trackPaymentOptionFormSubmission();
-
 
53
	return true;
-
 
54
}
-
 
55
 
46
function trackPaymentOptionFormSubmission(){
56
function trackPaymentOptionFormSubmission(){
47
	trackEventWithGA('Order', 'Payment method selected', '');
57
	trackEventWithGA('Order', 'Payment method selected', '');
48
	return true;
58
	return true;
49
}
59
}
50
 
60