[Zope] Changing the Value of a Form Variable

Paul Winkler pw_lists at slinkp.com
Sat Jun 19 16:32:46 EDT 2004


On Wed, Jun 16, 2004 at 01:46:06PM -0400, Asad Habib wrote:
> Hello. Is it possible to change the value of an existent form variable
> explicitly instead of through a form submission(i.e. can I use <dtml-call
> REQUEST.form ...> just like I use <dtml-call REQUEST.set ...>). Any help
> would be greatly appreciated. Thanks.

I believe the form attribute of REQUEST is just a dictionary.
So you should be able to do REQUEST.form['foo'] = 'bar'

-- 

Paul Winkler
http://www.slinkp.com



More information about the Zope mailing list