Hi,
not sure what i'm doing wrong.
added the call to the validate function to test: (v2019)
fcontactsedit.Form_CustomValidate = function(fobj) { // DO NOT CHANGE THIS LINE!
var iso_country_code = 'CA';
result = ew.ajax("<?php echo Encrypt("SELECT COUNT(*) FROM ACCOUNTS WHERE addr_country = 'CA'") ?>", iso_country_code);
alert(result);
return true;
}