Can someone point me to how do a simple loop given a variable which indicates the top limit of the loop. So, given x, I want to create... <option>1</option> <option>2</option> ... <option>x</option> Thanks, ------- Regards, Graham Chiu gchiu<at>compkarori.co.nz http://www.compkarori.com/dynamo - The Homebuilt Dynamo http://www.compkarori.com/dbase - The dBase bulletin
Can someone point me to how do a simple loop given a variable which indicates the top limit of the loop.
So, given x, I want to create...
<option>1</option> <option>2</option> ... <option>x</option>
(tested) <dtml-in "_.range(x)"> <option><dtml-var "_['sequence-item'] + 1"></option><br> </dtml-in> -jfarr ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi! I'm a signature virus. Copy me into your .sig to join the fun! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In article <00ed01bf8eb9$15790590$eb0217ac@dev.prognet.com>, Jonothan Farr <jfarr@real.com> writes
<dtml-in "_.range(x)"> <option><dtml-var "_['sequence-item'] + 1"></option><br> </dtml-in>
-jfarr
Thanks. ------- Regards, Graham Chiu gchiu<at>compkarori.co.nz ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Hi! I'm a signature virus. Copy me into your .sig to join the fun! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://www.compkarori.com/dynamo - The Homebuilt Dynamo http://www.compkarori.com/dbase - The dBase bulletin
participants (2)
-
Graham Chiu -
Jonothan Farr