REPEATER area - copy enetred value from the first repeater entry to another field

Elita- 23 Sep, 2019
Hello, need the guru help🙂
​
I have a multipage form for the seminar with the possibility to enter many participants and one bill generated afterwards;
My problem is that i cannot get data (entered values) from the first entered participant inside the repeater to put it on the bill.:
debug information is as follows for that first entry:
​
​[pre] [rep] => Array
([br] [1] => Array[br] ([br] [dal_uzv] => Participant#1Surname[br] [dal_vards] => Participant#1Name[br] [dal_kods] => Participant#1number[br] [dal_epasts] => Participant#1email[br] )[br][br] [2] => Array[br] ([br] [dal_uzv] => Participant#2Surname[br] [dal_vards] => Participant#1Name[br] [dal_kods] => Participant#2number[br] [dal_epasts] => Participant#1email[br] )[br][br] )[/pre]
​
tried different ways -
​
{data:[rep][1][dal_uzv]}
{data:rep[1][dal_uzv]}
..etc...
none is working.
​
I can get any other value entered outside the repeater though; with the code : {data:field_name} --- any ideas?
​
Thanks!
​
ELita
​
P.S. this post [br]http://www.chronoengine.com/forums/posts/t107620/repeater-area-keep-first-entry
​
does not work for me since all the form is based on the repeater key value and it will make it very complicated if i try to duplicate the first entry outside the repeater.
Elita- 24 Sep, 2019
thanks healyhatman, it is the right syntax - exactly what i needed 🙂
My array begins with 1, so it will be {data:rep.1.dal_uzv}
This topic is locked and no more replies can be posted.