ew.ajax always returns undefined

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
sticcino
User
Posts: 1043

ew.ajax always returns undefined

Post by sticcino »

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;

}



Post Reply