PHP & Repeatable Field Entries
Is there a guide somewhere on how to use PHP to create a form entry that has multiple repeatable values?
Let's say I have a form to add families; and all the kids are in a repeatable region containing name, age & favorite color.
I need to do this programmatically because I have data on over 21,000 families; and need to add the children as a repeatable region.
HERE is the code I am attempting to use:
global $frm_form, $frm_field;
'form_id' => 21, //form id
'frm_user_id' => '1', //post as admin
'item_meta' => array(
410 => array( // repeating region id
412 => array('Rex','Alice'), // name field in repeating region
414 => array('Purple','Orange') // color field in repeating region
415 => 'Maurice' //field outside of repeating region
Thanks in advance.