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

Casey Duncan casey@zope.com
Thu, 8 Aug 2002 21:35:47 -0400


I believe he actually gives you this book as part of the class, along wit=
h a=20
workbook. Just in case you haven't already bought it ;^)

-Casey

On Thursday 08 August 2002 06:18 pm, Michael wrote:
> Thanks Casey,
>=20
> I've been going through Alan Gauld's tutorial, and on Mark's website, h=
e=20
said=20
> that his book "Learning Python" kind of goes along with the basic cours=
e. =20
> I'll get his book first and then talk to him about about a class.  Sinc=
e=20
it's=20
> only three days long, I think I may need to prepare a little more first=
=2E
>=20
> Michael
>=20
> On Thursday 08 August 2002 03:24 pm, Casey Duncan wrote:
> > Your're in luck, Mark Lutz teaches Python classes in Longmont/Boulder=
=2E=20
Very
> > 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:
> > >
> > > Thanks Chris,
> > >
> > > I am a non-programmer, who knew html and a little javascript, that =
was
> > > drawn to Zope because DTML was a tag based language.  (Zope is a li=
ttle
> > > cheaper than Cold Fusion) I'm trying to learn though.  I thought I =
had
> > > tried using
> >
> > an
> >
> > > "or" in a dtml-if statement before and it didn't work.  Guess I was
> > > wrong. Anyway, thanks again for the advice, it works great.
> > >
> > > Michael
> > >
> > > PS. If you know of any schools, org's,  or people for that matter i=
n
> >
> > Northern
> >
> > > Colorado who teach Python, I would be very interested.
> > >
> > > On Thursday 08 August 2002 02:27 am, Chris Withers 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=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
> > >
> > > _______________________________________________
> > > Zope maillist  -  Zope@zope.org
> > > http://lists.zope.org/mailman/listinfo/zope
> > > **   No cross posts or HTML encoding!  **
> > > (Related lists -
> > >  http://lists.zope.org/mailman/listinfo/zope-announce
> > >  http://lists.zope.org/mailman/listinfo/zope-dev )
>=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