Is it possible for DTML to create or modify a form value?
I understand that REQUEST.form is a dictionary, but I cannot
seem to add dictionary elements.
I've tried
dtml-call expr="REQUEST.form['test']='value'"
dtml-call expr='REQUEST.form["test"]="value"'
dtml-call
maybe this will help:
dtml-call "REQUEST.set('lname',REQUEST.form['Last_Name'])"
From: "Brian Withun" [EMAIL PROTECTED]
Date: Tue, 29 Aug 2000 12:02:42 -0400
To: "Zope mailing list" [EMAIL PROTECTED]
Subject: [Zope] REQUEST.form.set ???
Is it possibl
Brian Withun writes:
Is it possible for DTML to create or modify a form value?
It is possible to extend any dictionary, especially
"REQUEST.form". You use the dictionary "update" method
as in
dtml-call "REQUEST.form.update({'a':1, 'b':2})"
It will, however, not work as you might