Access form data from userFunc of userType element

78 Views Asked by At

I would like to access the whole data of the whole Element inside my userFunc.

I tinkered around by var_dumping the secondArgument (fObj) of the userFunc and found it deep inside nested but I don't know if there is maybe an easier way to access it.

I would like to create a list of checkboxes depending on data from an another sheet inside the flexform.

1

There are 1 best solutions below

1
On

did you try to access your method parameters?

public function bla($content, $conf) {}

additionally try to enter the cObj:

$test = $this->cObj;
$data = $test->getData();