wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes Dojo validation text box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Dojo validation text box" Watch "Dojo validation text box" New topic
Author

Dojo validation text box

vShyam Sundar
Ranch Hand

Joined: Oct 13, 2010
Posts: 60
Hi All,
The link given below shows up a validation text box using DOJO

Dojo

When you remove the string in the text box and press tab, the focus will be lost in this case and text box will be wrapped with the DOJO specific alert indicating the field is mandatory. However when you try to do the same thing for the second time you get to see a notification indicating the field is mandatory(In other words the msg that you specify with invalidmessage attribute to the text box)

I want to show the notification message and textbox wrapped with DOJO style when the text box loses focus for the first time. This is happening only for mandatory fields whereas other validations like email where I use regex, I was able to get whatever is needed.

I am really in help on this.

-Shyam.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dojo validation text box
 
Similar Threads
Validating values in fields
Focus Problem
Validating Values In Fields
Struts Validation Empty alert Box
how i display date in proper format, which i take from databse timestamp datatype