There are similar questions answered however I am trying to do something a little different than what I can find.
I want to submit form B with a repeater field, and for each row in the repeater, I want to create an entry in form A, passing some of the values from each repeater row, to a new entry in form B.
I can't seem to find a way to do this, so I attempted to create a function to do this after form B is submitted. So, the code seems to work, but for some reason I am getting three entries in form A for each row in form B.
Also, I get one good entry using the values, but I also get two blank entries. any ideas.would be greatly appriciated.
Here is my code
Please login or Register to submit your answer