
June 27th, 2003, 04:07 AM
|
|
Junior Member
|
|
Join Date: Jun 2003
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
ZOPE->ZPT->TAL Variable Variables
hello everybody, i could need some adive on TAL scripting...
i have a plone template where i generate variable field names. the name is field_name_1, field_name_2, ... , field_name_XXX.
i am doing this by defining the field name combined with a counter:
Code:
tal:define="global field_name string:field_name_${group/group_index}"
this works fine so far. but when i want to read the fields after a submit
Code:
tal:define"bla request/form/field_name_1"
works but
Code:
tal:define="bla request/form/field_name_${group/group_index}"
doesn't. how can i make this statement dynamic?
thanx for your help in advance...
renato furter
|