By: lui10e6
Date: 2010-08-23
Time: 17:24
|
option values selected
i want to display a block of option dropdown lists that hold a value of date from database.
When empty it is like this:
<select name="[onshow.test.test.fieldName]_[testBlock.name]" class="date [testBlock.name;block=li;sub1=values]"><option>[testBlock_sub1.val;block=option]</option></select>
and after retrieving a value it should be like option selected, like
<option value="[xxxxxxxxxxx]" selected>[testBlock_sub1.val;block=option]</option>
how do i make a selected option with tbs?
|