[Zope] Mailform & Sendmail

Tapio Hüffner tapio@gmx.net
Fri, 29 Jun 2001 09:57:32 +0200


Hi guys,

I want to create a sendmail-Method which works with several forms. For that
I want to list the variables and their values independent from each form.
<dtml-var "REQUEST.form"> works, but the output is: {'comments': 'my
comment', 'name': 'my name'}. What I would like to see is:

comments: my comment
name: my name'

but I don't want to create for each form a sendmail-Method which includes:

comment: <dtml-var comments>
Name: <dtml-var name>

My idea was something like

<dtml-in "REQUEST.form">
<dtml-var name>: <dtml-var value>
</dtml-in>

but REQUEST.form isn't a sequence!?

I guess this is an easy question. Thank you in advance,

Tapio