Good morning,
I came accross something
I do not understand:
In a form I have list. The list items are set
with an option value <>
the sequence-index
like
so:
<dtml-in
getSubprojects>
<dtml-let
curElem=sequence-item>
<OPTION value=<dtml-var
"curElem['Code']">>
<dtml-var
"curElem['Name']">
</OPTION>
</dtml-let>
</dtml-in>
Now my question:
In the forms action I ask for the
selected item in a python script
like so:
listVal =
0
try:
listVal =
_['listProject']
except:
pass
To my puzlement listVal contains the index of the selected item,
not
it's <option value> which I would like to
gather.
Where is my error?
Thanks for your
answers
Robert