Hello,
I am creating a form with a repeater area with 3 fields to get information about project supervisors. I have managed to configure the repeater area to do what I want.
I want to know how can I reset or subtract values from {var:area_repeater.key}. When the first repeater is added the Key = 0 and it increments perfectly. HOWEVER, if I remove one of the repeater areas and then add another one the key value does not decrease and I will get non sequencial key values.
PS: How can I make it so that the Key value starts at 1 instead of 0?
Thank you for your time.
I am creating a form with a repeater area with 3 fields to get information about project supervisors. I have managed to configure the repeater area to do what I want.
I want to know how can I reset or subtract values from {var:area_repeater.key}. When the first repeater is added the Key = 0 and it increments perfectly. HOWEVER, if I remove one of the repeater areas and then add another one the key value does not decrease and I will get non sequencial key values.


PS: How can I make it so that the Key value starts at 1 instead of 0?
Thank you for your time.