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

Casey Duncan casey@zope.com
Thu, 8 Aug 2002 17:24:48 -0400


Your're in luck, Mark Lutz teaches Python classes in Longmont/Boulder. Ve=
ry=20
worthwhile to get a jump start w/Python:

http://home.rmi.net/~lutz/mytrain.html

hth,

-Casey

On Thursday 08 August 2002 04:44 pm, Michael wrote:
> > Michael wrote:
>=20
> Thanks Chris,
>=20
> I am a non-programmer, who knew html and a little javascript, that was =
drawn=20
> to Zope because DTML was a tag based language.  (Zope is a little cheap=
er=20
> than Cold Fusion) I'm trying to learn though.  I thought I had tried us=
ing=20
an=20
> "or" in a dtml-if statement before and it didn't work.  Guess I was wro=
ng.=20
> Anyway, thanks again for the advice, it works great.
>=20
> Michael
>=20
> PS. If you know of any schools, org's,  or people for that matter in=20
Northern=20
> Colorado who teach Python, I would be very interested.
>=20
> On Thursday 08 August 2002 02:27 am, Chris Withers wrote:
> > > I have a search form with 3 different fields and need to verify tha=
t
> > > there is a value in at least one of them.  I know that <dtml-if
> > > expr=3D"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
>=20
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -=20
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>=20