Well, you will hit problems with your define because that will run before your repeat. Remove it and be happy.
Ah thanks, that's much better. :) <select name="task" tabindex="2" onchange="ifnew_showdiv('new_task')"> <option tal:repeat="record task_list" tal:attributes="label record/name; value record/task_id" tal:content="record/name"> Example Option </option> <option label="New" value="New">New</option> </select> _______________________________________________ ZPT mailing list ZPT@zope.org http://mail.zope.org/mailman/listinfo/zpt