You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Programozás <pr...@hotmail.com> on 2004/02/21 12:59:01 UTC

client side validation

Hello,

I'd like to make the client side validation of ValidFields more user friendly.
I feel the message box solution too limited. What should I do if in case of a client side validation error I don't want to display an alert. Instead, I'd like to modify the CSS style of some components, for example change the background color of the erroneous fields to red?

Thanks,
Norbi

Re: client side validation

Posted by Harish Krishnaswamy <hk...@comcast.net>.
Validators have a scriptPath property that can be set to the path of a custom script. When set it will override the 
default script.

-Harish

Programozás wrote:

> Hello,
> 
> I'd like to make the client side validation of ValidFields more user friendly.
> I feel the message box solution too limited. What should I do if in case of a client side validation error I don't want to display an alert. Instead, I'd like to modify the CSS style of some components, for example change the background color of the erroneous fields to red?
> 
> Thanks,
> Norbi

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org