I've created a form which contains a table list with a datasource read_data_test, with model name Test
I've added a loop with custom PHP code to calculate a result.
How do you update the value in the table list?
The PHP code below is executed in the PHP custom code of the Loop function.
$this->set("read_data_test.fieldname",$calculatedVar);
$this->set("Test.fieldname",$calculatedVar);
$this->set("Test[fieldname]",$calculatedVar);
None of those commands are updating either the read_data_test datasource or the Model.
Could someone point me in the right direction?
Thanks,
/D
I've added a loop with custom PHP code to calculate a result.
How do you update the value in the table list?
The PHP code below is executed in the PHP custom code of the Loop function.
$this->set("read_data_test.fieldname",$calculatedVar);
$this->set("Test.fieldname",$calculatedVar);
$this->set("Test[fieldname]",$calculatedVar);
None of those commands are updating either the read_data_test datasource or the Model.
Could someone point me in the right direction?
Thanks,
/D