I need to edit 4 fields in a form as describe below :
id_level2 depending of the value of id_level1,id_level3 depending of the value of id_level2,id_level4 depending of the value of id_level3
in other words, i would like to select the child of his parent, and this 3 times in the same form
extract from fieds.ini :
[id_level1]
widget:label="level1"
widget:type = select
vocabulary = listelevel1
[id_level2]
widget:label="level2"
widget:type = lookup
widget:filters:id_parent_level=$id_level1
[id_level3]
widget:label="level3"
widget:type = lookup
widget:filters:id_parent_level=$id_level2
[id_level4]
widget:label="level4"
widget:type = lookup
widget:filters:id_parent_level=$id_level3
but it doesn't work !
how can i do this ?
thanks for your help