[Zope] DTML and Buttons

Dylan Reinhardt zope at dylanreinhardt.com
Wed Jan 14 12:15:28 EST 2004


Asad Habib said:
> Is it possible to have a dtml document that consists of

You have an HTML challenge... once you figure that out, the DTML part will
be simple.

> several forms would
> lie within a single form

That isn't going to work very well.  You'll do far better to implement
this as multiple independent forms.

> I would like to have the buttons directly call
> dtml methods.

No problem:

<form method=post action=my_dtml_method_name>
   <input type=submit value="My Button Text">
</form>

HTH,

Dylan




More information about the Zope mailing list