Hi all, I know this is not advanced, but I have a deadline for a
FLEX app tomorrow and the client needs to see a login and signup
sample.
I have a CFC which has a method that checks if the email inputed
already exists in the database.
The cfc function returns TRUE or FALSE
This is the
Looks like the parenthesis are in the wrong place
Try:
function checkEmailExists():void {
if (srv.checkEmail({email:userEmailInput.text}) == true) {
submitSignup.enabled = true;
} else {
submitSignup.enabled = false;
}
}
or even better
function
I'm not sure how Coldfusion gives results back, but i would assume the true or false is a string and not a boolean. public function checkEmailExists():void { if ((srv.checkEmail({email:userEmailInput.text
})) ==true){ submitSignup.enabled = true; } else {
whoops, sorry, I left the public out of the function
public function checkEmailExists():void { ...
Richard
Richard Turner-Jones wrote:
Looks like the parenthesis are in the wrong place
Try:
function checkEmailExists():void {
if (srv.checkEmail({email:userEmailInput.text}) == true) {
(event) /
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alexander Tsoukias
Sent: Tuesday, April 04, 2006 11:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] GENERAL actionscript question
Hi all, I know this is not advanced, but I have
5 matches
Mail list logo