HTML5 Zone is brought to you in partnership with:

Loiane Groner, Brazilian, works as a Java/ Sencha evangelist. She has 7+ years of experience in web development. She is the ESJUG (Espirito Santo Java Users Group) and CampinasJUG (Campinas Java Users Group) leader and coordinator. Loiane is passionate about technology and programming. Also author of ExtJS 4 First Look book. Loiane is a DZone MVB and is not an employee of DZone and has posted 42 posts at DZone. You can read more from them at their website. View Full User Profile

ExtJS 4 Form: Unique Field Value Validation Example (Server Validation)

07.07.2012
| 8734 views |
  • submit to reddit

Today’s example is an ExtJS 4 Form unique field value validation, done on the server side. Do you know when you are going to register in a new social network and you have to choose a username (and this username must be unique)? This is the case we are going to handle in this article.

I also implemented this example using Sencha Architect 2.

Final result:

 Unique Field Value Validation Example (Server Validation)

Demo: http://loiane.com.br/sencha-extjs4-examples-architect/extras/UniqueFieldValidation/app.html

Source Code: https://github.com/loiane/sencha-extjs4-examples-architect/tree/master/extras/UniqueFieldValidation

Published at DZone with permission of Loiane Groner, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)