[mod_python] select multiple

sector119 at mail.ru sector119 at mail.ru
Thu Aug 26 17:32:39 EDT 2004


i have some "<select multiple ...>" with the _same_ name
"manufacturers":
<select multiple size="2" name="manufacturers">
<select multiple size="2" name="manufacturers">
<select multiple size="2" name="manufacturers">

req.form["manufacturers"] has list value like: [1,2,3,4,5,6,7,8,9] not
[[1,2,3],[4,5],[6,7,8,9]] as I expected :) [1,2,3] - values for the
first select, [4,5] - for the second, ...

how can I get [[1,2,3],[4,5],[6,7,8,9]] - list of lists for "<select
multiple ...>" with the _same_ name?

-- 
WBR, sector119


More information about the Mod_python mailing list