• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Dojo validation text box

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
eat bricks! HA! And here's another one! And a tiny ad!
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic