This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dojo validation text box  RSS feed

vShyam Sundar
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
The link given below shows up a validation text box using 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.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!