Re: Re: [Formsess-devel] validate .../>: join many of them
Status: Beta
Brought to you by:
mrkatana
From: Raoul P. <pie...@wa...> - 2004-05-24 12:19:23
|
Hello, > this is an interessting idea, but we really need to release a new > version as soon as possible, so bigger new features like that will = only > be discussed and intergrated after the next release. >=20 > Could you add a wishlist item to the sourceforge.net tracker? OK Regards Pierre >=20 > - david >=20 > On Sat, 22 May 2004 15:07:40 +0200 > "Raoul Pierre" <pie...@wa...> wrote: >=20 > > Hello, > >=20 > > If I'm right, at the moment the only way to put many validate tags > > together is > >=20 > > <fs:validate field=3D"toto" .../> > > <fs:validate field=3D"toto" .../> > > ... > > <fs:validate field=3D"toto" .../> > >=20 > > and the logic operator between tags is then "AND". > >=20 > > I think it would be a nice thing if we can do more wide logic = calculus > > with validate tags. > > Something like: > >=20 > > <fs:validate field=3D"toto" check=3D"A" /> <!-- by default, it's a = AND > > operator --> > > <fs:validate field=3D"toto" check=3D"B" logic=3D"or"/> > > <fs:validate field=3D"toto" logic=3D"open"/> <!-- by default, check > > attribut is empty? --> > > <fs:validate field=3D"toto" check=3D"C" logic=3D"and"/> > > <fs:validate field=3D"toto" check=3D"" logic=3D"open"/> > > <fs:validate field=3D"toto" check=3D"D" logic=3D"or"/> > > <fs:validate field=3D"toto" check=3D"E" logic=3D"close"/> > > <fs:validate field=3D"toto" check=3D"" logic=3D"close"/> > >=20 > > for logic formula: A . B + (C . (D+E)) |