Support

Account

Home Forums Add-ons Repeater Field update field not working on repeater field Reply To: update field not working on repeater field

  • I’ve also tested add_row like this but still not working

    
      foreach ($_POST['checks'] as $check) {
                $data = json_decode($check);
                $the_values = array(
                    'field_625aae3e867c5'=>$data->firstName,
                    'field_625aaf65867c6'=>$data->lastName,
                    'field_625aaf6c867c7'=>$data->checkNumber,
                    'field_625aaf77867c8'=>$data->accountNumber,
                    'field_625aaf83867c9'=>$data->bank,
                    'field_625aaf8b867ca'=>$data->price,
                    'field_625aaf96867cb'=>$data->date,
                );
                add_row('field_625aae0d867c4' ,$the_values,$post_id );
    
            }
            echo '<pre>';
            print_r($the_values);
            echo "<br>";
            echo "post_id is : $post_id";