descriptions of _expression_ validations are here:
http://www.stripesframework.org/display/stripes/validation+reference#validationreferen...@validate(_expression_%3D%22%24\%22)

Validation methods could be helpful as well..
-m


Oscar Westra van Holthe - Kind wrote:
On 04-02-2009 at 15:22, [email protected] wrote:
  
Hi,

I have a stripes based application where I would like to make conditional 
validations.

For instance a certain field is required if a certain other field has a 
certain value, otherwise the field is not required.

Which would be the best way to fit this into stripes' validation?
    

For simple validations, you can use the _expression_ validation.
For more complex validations, you can remove the validation.

Descriptions of how this can be done can be found online, but unfortunately
I'm not able to find them for you right now.


Oscar

  


-- 
marijan milicevic / software engineering
|    ||   |||  ||  info.nl, amsterdam
Sint Antoniesbreestraat 16
1011 HB Amsterdam
+31 (0) 20 530 9100 /T
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to