[Zope] Overriding REQUEST.form

Peter Bengtsson mail@peterbe.com
Wed, 4 Jul 2001 10:29:54 +0200


Try: self.REQUEST.form['whatever'] = "something else"

----- Original Message ----- 
From: "Ragnar Beer" <rbeer@uni-goettingen.de>
To: <zope@zope.org>
Sent: Tuesday, July 03, 2001 7:26 PM
Subject: [Zope] Overriding REQUEST.form


> Howdy!
> 
> In order to correct mistakes in a form I need to override parameters in
> REQUEST.form. E.g. a user types a wrong text in a field and I want to
> clear it prior to further processing. I tried (in an external method)
> self.REQUEST.set('whatever','') but this doesn't work (Zope 2.2.4).
> What can I do?
> 
> Ragnar
> 
> _______________________________________________
> 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 )