[Zope] How do you check for null search fields?

Chris Withers chrisw@nipltd.com
Thu, 08 Aug 2002 09:27:47 +0100


Michael wrote:
> I have a search form with 3 different fields and need to verify that there is 
> a value in at least one of them.  I know that <dtml-if expr="some_field"> 

Ug! Why is your search orm processign written in DTML?!

Still, if you must torture yourself...

<dtml-if "somefield or some_other_field or a_third_field">

...will do what you want.

cheers,

Chris