Forums / Developer / Date picker (pop-up)? / Comment45012
Kristian Hole
Tuesday 20 December 2005 7:29:00 am
Yes, the problem is that there is more fields with the same identifier. You need to generate unique ids for each datefield. If you look in /design/standard/templates/content/datatype/edit/ezdate.tpl you will see that there is a unique identifier used {$attribute.id}, which you can use to generate a unique datefield. ( Like for example year_{$attribute.id} ).
I think you also need some javascriptcode in the ezdate.tpl to connect the calendar to each datefield.
Kristian http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute