Changing the Value of a Form Variable
16 Jun
2004
16 Jun
'04
5:46 p.m.
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. - Asad
19 Jun
19 Jun
8:32 p.m.
New subject: [Zope] Changing the Value of a Form Variable
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
7961
Age (days ago)
7964
Last active (days ago)
1 comments
2 participants
participants (2)
-
Asad Habib -
Paul Winkler