Page 2 of 2

Exception Message Part 2

Posted: Thu Aug 30, 2012 6:26 pm
by ideavist

Here's the javascript:

alert ('['+value+']');
return "That name does not exist";

If I put in a valid name, I get a pop up error message that says:
[]

Image

If I put in an invalid name (lslslslslslsls), I get a pup up error message that says:
[User with name lslslslslslslsl not found.]

Image


Exception Message Part 2

Posted: Thu Aug 30, 2012 6:33 pm
by maxkatz

Use this code:

code
if (value.length > 0) {
return "That name does not exist&quot
}
else {
return "&quot
}
/code


Exception Message Part 2

Posted: Thu Aug 30, 2012 6:36 pm
by ideavist

TOTALLY WORKED THIS TIME!

1) Tiggzi is amazing app
2) Tiggzi is an amazing app BECAUSE of the amazing support.

Thanks again Max!