autofill + map data + repeat group

mirceat

Member
Hello,

I can't find an answer within forum so i have to ask: what is the syntax for mapping data for the autofill plugin when the target group is set to repeat?

So far I've tried with

PHP:
{"table___source":"othertable___target"}

and

PHP:
{"table___source":"othertable_735_repeat___target"}

but i don't know how to add _0, _1 etc for each target field to match the repeat group number.

The autofill plugin is not triggered. No error in debug. The mapping data is correct, tested without repeat group.

J 3.7.3, Fabrik latest github version

Thank you
 
Works OK for me in a repeat group.

My map is ...

Code:
{"uk_cities___latitude":"fab_autofil_repeat_20_repeat___lat","uk_cities___longitude":"fab_autofil_repeat_20_repeat___lon"}

My "field to observe" is "fab_autofil_repeat_20_repeat___lat.UK City"

So my repeat consists of the city, the lat and the lon.

You don't have to worry about the _X repeat count, we handle that.

I'm assuming here you "observe" element is in the repeat group?

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top