[Zope] Subject: problem with "required" parameter

Lennart Regebro lennart@torped.se
Mon, 1 Apr 2002 19:26:28 +0200


For checking the variables in a form, Formulator is quite useful. Check it
out. It's downloadable from Zope.org.

----- Original Message -----
From: "guido tobar" <guidotobar@yahoo.com>
To: <zope@zope.org>
Sent: Monday, April 01, 2002 6:00 PM
Subject: [Zope] Subject: problem with "required" parameter


>
> If I use a dtml method called "first" with this code:
>   <form action="second" method="POST">
>   <input name="animal:required">
>   </form>
>  Too many errors encountered; the rest of the message
> is ignored:
>
>  Now, I don't know How do  I to catch the error in the
>  dtml called "second"
>    <dtml-try>
>      the name of animal is:<dtml-var animal>
>    <dtml-except EMPTY>
>      ERROR you write a empty string
>    </dtml-try>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Greetings - send holiday greetings for Easter, Passover
> http://greetings.yahoo.com/
>
> _______________________________________________
> 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 )
>
>