[Zope] Hidden field with a list type
Paul Chung Chee Soong
HCSCCS@prudential.com.my
Tue, 10 Aug 1999 15:31:48
Hi Zopians. My problem is how can I make a hidden field to be a list with
a default value? For instance, I try to make the following.
REQUEST.form['pno'] contains ['abc', 'def', 'ghi']
<snip>
<input type=hidden name="pno:list" value="<!--#var
"REQUEST.form['pno']"-->">
When I submit the above page, and try to refer to pno, it doesn't produce
the result I want. For example:
<snip>
<!--#in "REQUEST.form['pno']"-->
<!--#var sequence-item--><BR>
<!--#/in-->
produces only 1 item, "['abc', 'def', 'ghi']" and not 3 items,
abc
def
ghi
Thanks for any comments,
--Paul