Hi, I'm currently having problems with passing values from a multiple select statement through the use of a record. So far, I haven't found anything on this in the documentation or the mailing list archives and I was curious if anyone else has encountered this problem. It seems that in passing the multiple values, Zope truncates the returned list to only the first value of the list, losing the rest of the data. If anyone can provide a solution to this problem, or point me in the right direction (how to add to a previously created record object in the REQUEST maybe?) it would be greatly appreciated. Thanks in advance, Scott Jorgensen
hello,
I'm currently having problems with passing values from a multiple select statement through the use of a record. So far, I haven't found anything on this in the documentation or the mailing list archives and I was curious if anyone else has encountered this problem.
have a look at http://www.zope.org/Members/michel/ZB/ScriptingZope.dtml chapter: Passing Parameters to Scripts. Hint: Try something like this. The 'multiplie' seems to be important for you problem..;-): <select name='myRecord:list' multiple> <option>...</option> ... </select> greetings maik jablonski -- Maik Jablonski Zentrum fuer Lehrerbildung Universitaet Bielefeld Germany
Maik Jablonski wrote:
hello,
I'm currently having problems with passing values from a multiple select statement through the use of a record. So far, I haven't found anything on this in the documentation or the mailing list archives and I was curious if anyone else has encountered this problem.
have a look at
http://www.zope.org/Members/michel/ZB/ScriptingZope.dtml
chapter: Passing Parameters to Scripts.
Hint: Try something like this. The 'multiplie' seems to be important for you problem..;-):
<select name='myRecord:list' multiple> <option>...</option> ... </select>
explanations also at http://www.zope.org/Members/Zen/howto/FormVariableTypes and maurer
participants (3)
-
Ashley Walsh -
hans -
Maik Jablonski