dynamic select with nested repeat?
Hello all,
I just saw the nested repeat tutorial and it's easy to recreate.
But I need to create a nested repeat for a dynamic select so that I can separate select options by using the optgroup tag.
I would like to create something like this:
[category repeat]
<optgroup label="MyDynamicCategory">
[option repat]
<option value="MyDynamicOption">MyDynamicOption</option>
[/option repeat]
</optgroup>
[/category repeat]
Is there a sample about this?
TIA
tony


There is no sample or tutorial... you can do it with nested recordsets and avoid hand coding, or you could use a hand coded IF statement to add the optgroup tag whenever the group changes.
