[Zope-dev] DTML question
Johan Carlsson
johanc@torped.se
Sun, 21 Nov 1999 22:20:21 +0100
Hi John,
You can use the :record type conversion keyword to
tell Zope how to interpet multiple form entries
as a list of records.
Look in the FormVariableTypes HOWTO how to do it:
http://www.zope.org/Members/Zen/howto/FormVariableTypes
<http://www.zope.org/Members/Zen/howto/FormVariableTypes>
Regards,
Johan Carlsson
>
> Hi Everyone --
>
> I'd greatly appreciate any help. Question by example: if I have a form:
>
> <FORM action=showme>
>
> <INPUT name=first_name value=Jim> <INPUT name=email
> value=jim@whereever.com>
> <INPUT name=first_name value=Bob> <INPUT name=email
> value=bob@whereever.com>
>
> <INPUT type=submit value=OK>
>
>
>
> which calls "showme"
>
>
> <dtml-in email>
> <dtml-var "_['sequence-item']">
> </dtml-in>
>
>
> it returns
>
>
> jim@whereever.com
> bob@wherever.com
>
> but how would I return:
>
> Jim jim@whereever.com
> Bob bob@whereever.com
>
> Thanks!
> -- John
>
>
>
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> No cross posts or HTML encoding!
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope )
>