How to clear value of a field in last added element in repeater

se serguei_kp 29 Dec, 2020
Hello,
I'm struggling to clear field value of last added element in the repeater area.
​
In Events of the repeater footer button I've added Clear value on Click,
with affected elements identifier: Modelservices[{var:area_repeater8.key}][service_type]
but it clears value of first repeater's element not last.
data-events='[{"sign":"click","action":["clear"],"identifier":["Modelservices[1][service_type]"]}]' , the identifier is always Modelservices[1]
​
​
How to get the id or name or some identifier of the last added element?
​
Thank you!
This topic is locked and no more replies can be posted.