-
Ext User
[solved] How to force a TextField as Invalid ?
Hi
I need to force a TextField as Invalid but without using a validator.
How can I do it with ExtJS 2.x (or 3.x) ?
I try to explain why I need it.
I'm creating a J2EE login form so the submit MUST be a standard submit (not a JSON results). So I need now to manage the Error Login Page.
I want to do mark as invalid User Id and Password field using standard ExtJS layout.
Of couse I can add a simple panel with a generic error message... But if I can use standard msgTarget i will be more happy 
Thanks
-
Please post requests for help in the Help folder.
-
Now, which version are you in fact using?
-
Ext User
I'm sorry If I post in the wrong forum. Next time I will put more attention.
There is a way to move it ? I havent found it
My final application must be run under ExtJS 3.0 (and I believe it will delivered in about 6m)
So I'm looking for a solution bases on ExtJS 3.0
Thanks
-
Take a look at the markInvalid method.
If you wanted to force validation and auto trigger the standard validation you could also call the isValid method.
-
Ext User
Hi Aconran.
It is exactly what I'm looking for!!
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules