Hi @phil34 

 

The answer which is returned from Server side is not "Boolean", but a string. Please modify your client script function accordingly. 

************************************************************************

 alert('the answer is' + typeof(answer));
    if (answer=='true') {
        alert('User Name already exists');
        g_form.clearValue('u_email_address');
    }

 ******************************************************