Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts dynavalidator  " Watch "Struts dynavalidator  " New topic

Struts dynavalidator

roseline ruba

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,

Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864

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.

Consultant, Sima Solutions
I agree. Here's the link:
subject: Struts dynavalidator
It's not a secret anymore!