[Zope] REQUEST.form.set ???
Daren Lunsford
dlunsford@ep.newtimes.com
Tue, 29 Aug 2000 11:02:05 +0000
maybe this will help:
<dtml-call "REQUEST.set('lname',REQUEST.form['Last_Name'])">
> From: "Brian Withun" <brianw@hilgraeve.com>
> Date: Tue, 29 Aug 2000 12:02:42 -0400
> To: "Zope mailing list" <Zope@zope.org>
> Subject: [Zope] REQUEST.form.set ???
>
>
> 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 expr="REQUEST.form.set('test','value')">
>
> but none of them work.
>
> What am I doing wrong here?
>
> ------------
> Brian Withun
>
> _______________________________________________
> 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 )
>