I've done two actions in the past, but it does feel a bit yucky...

Just to expand on this request -- another reason it could be useful is
when you only want to validate a field if another expression evaluates
to true (such as a checkbox being set or something).

-Pat

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Jason Carreira
Sent: Monday, November 24, 2003 5:54 AM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] conditional validation in ww2?

2 Actions is the current way. I'm open to other ideas...

> -----Original Message-----
> From: Taavi Tiirik [mailto:[EMAIL PROTECTED] 
> Sent: Monday, November 24, 2003 2:07 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] conditional validation in ww2?
> 
> 
> 
> Is it possible to do kind of conditional validation in ww2? 
> Just started to like this xml way of configuring validation 
> but I would like to turn off some of the validation rules if 
> the form is not yet executed. This is needed because I do not 
> want to see field validation error messages when I first open 
> the form.
> 
> One way to achieve this would be using two actions. One
> for displaying the form and another one for processing it.
> Is there a better way of doing it?
> 
> thanks,
> taavi.
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program. 
> Does SourceForge.net help you be more productive?  Does it 
> help you create better code?  SHARE THE LOVE, and help us 
> help YOU!  Click Here: http://sourceforge.net/donate/ 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to