This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts dynavalidator  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts dynavalidator  " Watch "Struts dynavalidator  " New topic
Author

Struts dynavalidator

roseline ruba
Greenhorn

Joined: Mar 21, 2007
Posts: 20
i'm using dynavalidatorform in my project.when I submit the form it shows the error messages properly.
But what I need is, while filling up the form, If the user enter the invalid data (for ex. in a textBox I say 'required' but user leave it empty) then user should get an alert to fill it up. and he should not allow to move to next element.
Can we do this? If so, Please help me to do this.

Thanks in advance,
Rose.


Roseline
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
roseline,

Welcome to JavaRanch! We're glad you're here. I do need to remind you, though, that the name you are currently displaying does not meet the guidelines of the JavaRanch Naming Policy. In particular, the name you display must be a first and last name, and must not be obviously fictitious. Please change the Publicly Displayed Name in your user profile so that it meets the guidelines.

This may seem trivial to you, but it's an important part of the culture at JavaRanch, and we do appreciate your compliance with it.


Merrill
Consultant, Sima Solutions
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Struts dynavalidator