PDA

View Full Version : How to add nice error message in form



UnityWeb
18 Mar 2011, 8:23 AM
Just diving into SenchaTouch which seems very promising.

I'm building my first application, a simple login form check source http://pastebin.com/8Zddr9cj

I'm looking for a way to do the following things :

* Display 'nice' error message when the login/password is wrong. Can be in red to replace the 'Please enter your credentials); i don't know how to access this property.
* If login success, close the form and load the application (probably another js file).

Quite simple, but i'm a newbie to this,