Page 1 of 1

LoginBox ErrorLabel custom message

Posted: 23 Feb 2012, 20:05
by Mhollow
Hi!
Please tell me if it possible to customize the text displayed in errorLable LoginBox?
if login failed (i.e for LOGIN_BAD_USERNAME reason from sfs2x extension) errorLable displaying a text message "User name <user> is not recognized"
But how can I change this text ?
I need the error message to be displayed in proper locale or be invisible at all..
Thanks!

Re: LoginBox ErrorLabel custom message

Posted: 23 Feb 2012, 20:41
by rjgtav
Hi. You can customize the error messages on the SFS2X API itself.
Please check this chapter of the docs for a tutorial about how to achieve it.

Re: LoginBox ErrorLabel custom message

Posted: 24 Feb 2012, 06:35
by Mhollow
Thanks for the help!
Problem solved.