Subversion Repositories SmartDukaan

Rev

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

Rev 13468 Rev 13525
Line 57... Line 57...
57
	return true;
57
	return true;
58
}
58
}
59
 
59
 
60
function verifyCodSelectionForm(formName){
60
function verifyCodSelectionForm(formName){
61
	var captcha_response_input =$("form[name='" + formName + "'] :input[name='captcha_response_field']");
61
	var captcha_response_input =$("form[name='" + formName + "'] :input[name='captcha_response_field']");
-
 
62
	
-
 
63
	if(captcha_response_input.length!=0){
62
	var entered_text =  $.trim(captcha_response_input.val());
64
		var entered_text =  $.trim(captcha_response_input.val());
63
	if(entered_text == '' || entered_text == 'Enter the characters shown'){
65
		if(entered_text == '' || entered_text == 'Enter the characters shown'){
64
		dispError("Please enter the characters shown.");
66
			dispError("Please enter the characters shown.");
65
		captcha_response_input.blur();
67
			captcha_response_input.blur();
66
		return false;
68
			return false;
-
 
69
		}
67
	}
70
	}
68
	trackPaymentOptionFormSubmission();
71
	trackPaymentOptionFormSubmission();
69
	return true;
72
	return true;
70
}
73
}
71
 
74