Hello,
After being able to access the form element id (see topic) owing to Rob and Hugh O0, I would like to autofill a field of the repeated group through the autofill plugin.
I am using fabrik 3.0.6.3-606 just updated from git.
I have created a tablejoin (left join) from table A to table B which will create the repeat groups. Then a autofill plugin from table B to table C.
Table A
id
datetime
name (field)
Table B
id
datetime
unity(datajoin on Table C see below)
unity_price (field)
quantity (field)
total (field)
Table C
id
datetime
unity (field)
unity_price (field)
On tableb, unity is observed. tableb___unity_price should be filled through the autofill :
However, it doesn't work. I wonder if :
- it is needed to add the join___43___ prefix to tableb___unity_price
- fabrik deals with the suffix _id of the element
It is possible to see the form at this URL. There is some javascript in 36.js.
Thank you for your answer and help.
remroc
After being able to access the form element id (see topic) owing to Rob and Hugh O0, I would like to autofill a field of the repeated group through the autofill plugin.
I am using fabrik 3.0.6.3-606 just updated from git.
I have created a tablejoin (left join) from table A to table B which will create the repeat groups. Then a autofill plugin from table B to table C.
Table A
id
datetime
name (field)
Table B
id
datetime
unity(datajoin on Table C see below)
unity_price (field)
quantity (field)
total (field)
Table C
id
datetime
unity (field)
unity_price (field)
On tableb, unity is observed. tableb___unity_price should be filled through the autofill :
Code:
{"tablec___unity_price":"tableb___unity_price"}
However, it doesn't work. I wonder if :
- it is needed to add the join___43___ prefix to tableb___unity_price
- fabrik deals with the suffix _id of the element
It is possible to see the form at this URL. There is some javascript in 36.js.
Thank you for your answer and help.
remroc