Over a million developers have joined DZone.

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

· Java Zone

Easily build powerful user management, authentication, and authorization into your web and mobile applications. Download this Forrester report on the new landscape of Customer Identity and Access Management, brought to you in partnership with Stormpath.

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:

extjs4 uniquefield validation loiane ExtJS 4 Form: 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

The Java Zone is brought to you by Stormpath—a complete, pre-built User Management API. Want to learn how to use JWTs to protect microservices from CSRF and more? Check out this on-demand webinar with our Java Developer Evangelist, Micah Silverman.

Topics:

Published at DZone with permission of Loiane Groner, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}