Field Repeater, $get and $set

Not sure if I can do this but I am looking to change the Next item depending the from the previews Item and I am not sure how to call them.

          ->addAction(
              function (Set $set, Get $get) {
                  $set('../ THISITEM /start_at', $get('../ PREVIOUS_ITEM /start_at')->addWeek());
              }
          )
Was this page helpful?