File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Client side validation in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Client side validation in Struts" Watch "Client side validation in Struts" New topic

Client side validation in Struts

Liju Cherian
Ranch Hand

Joined: Mar 17, 2006
Posts: 44

Could anyone please tell me, if it is possible to use validwhen as a client-side validating condition, when using the <html:javascript/> tag.

Thanks in advance.


"What's in a name? That which we call a rose by any other name would smell just as sweet."<br />(William Shakespeare, Romeo and Juliet, Act II, Scene II)
yin jiang

Joined: Mar 28, 2006
Posts: 7
I think it's impossible unless you write your own javascript validate function for validwhen.

My English is poor. Sigh!!!
I agree. Here's the link:
subject: Client side validation in Struts