DTML Question on lines
I am trying to itterate through a lines property in the folder so that the options will drop down. I did not think that the following code would work but I could not think of anything else. <dtml-in valid_codes> <option value="<dtml-var valid_codes>"><dtml-var valid_codes> </option> </dtml-in> - Bryan Patrick Coleman Questcon Technologies (336)273-2428 ext-416 bcoleman@questcon.com
I am trying to itterate through a lines property in the folder so that the options will drop down. I did not think that the following code would work but I could not think of anything else.
<dtml-in valid_codes> <option value="<dtml-var valid_codes>"><dtml-var valid_codes> </option> </dtml-in>
try (untested): <dtml-in valid_codes> <option value="<dtml-var sequence-item>"><dtml-var id> </option> </dtml-in> assuming of course that valid_codes is a list hth Rik
"Coleman, Bryan" wrote:
I am trying to itterate through a lines property in the folder so that the options will drop down. I did not think that the following code would work but I could not think of anything else.
<dtml-in valid_codes> <option value="<dtml-var valid_codes>"><dtml-var valid_codes> </option> </dtml-in>
Try this Bryan, <SELECT name="mySelection"> <dtml-in valid_codes> <option value="<dtml-var sequence-item>"> <dtml-var sequence-item> </option> </dtml-in> </SELECT> -- Tim Cook -- FreePM Project Coordinator http://www.freepm.org OS Health Care Alliance Supporter http://www.oshca.org
participants (3)
-
Coleman, Bryan -
Rik Hoekstra -
Tim Cook