Q1/14:20140101
Q2/14:20140401
Q3/14:20140701
Q4/14:20141001
Q1/15:20150101
Q2/15:20150401
Q3/15:20150701
Q4/15:20151001
Hi,Any ideas?
\define valueFromIndex()
[[data]getindex[$(index_key)$]]
\end
<$select field="start_date">
<$list filter="[[data]indexes[]sort[title]]" variable="index_key">
<$list filter=<<valueFromIndex>> variable="index_value">
<option value=<<index_value>> >
<<index_key>>
</option>
</$list>
</$list>
</$select>
Also, you can't put a widget as an argument to another widget (and
HTML-tags are widgets too).It works perfectly.
Am 11.08.2015 um 16:57 schrieb Andreas Hahn:
<$select field="start_date">
<$list filter="[[quarters]indexes[]sort[title]]" variable="key">
<$set name="val" filter="[[quarters]getindex<key>]">
<option value=<<val>>><<key>></option>
</$set>
</$list>
</$select>