Hi, howq can i add row with data to in nested repeater?
it looks like this:
Row
– row 2
– row 3
– text value (i made it)
– row4 (3 values in row)
and i want to add few row4 by php.
This is my code how i add text value
add_sub_row(
Array('informations', $season, 'nested_rep'),
Array(
'name' => $episodes[$i], // text field
// repeater with 3 fields
'values_all' => Array(
'value1' => 'ad',
'value2' => 1, // this is select vield 1 - 5
'value3' => 1, // this is select vield 1 - 5
),
),
$postid
);