Getting the value from a select box
23 May
2001
23 May
'01
6:37 p.m.
Hey all, I can use this code to get the value of a textbox. <dtml-with REQUEST only> <dtml-var "form['txtID']"> </dtml-with> - txtID is the name of the textbox. Now, my question is, how do you get the value from a select drop-down box? <dtml-var "form['size']"> doesn't work where the drop-down box name is size. Also <dtml-var "form['size.value']"> or <dtml-var "form['size.selectedIndex']"> doesn't work, however, I suspect it is because it's thinking I'm asking for a form field named size.selectedIndex or size.value So how do you get this value? Thanks in advance - and I'll probably thank you again after you answer, Tommy
9084
Age (days ago)
9084
Last active (days ago)
0 comments
1 participants
participants (1)
-
Tommy Johnson