startpoint
Active Member
Hi,
I tried to update value with following code:
or
This code run in php form plugin during Start on form submission (onBeforeProcess).
The value in database not updated.
The result is the same when code run from php file.
If element is simple field the value updated successfully.
Tested on Joomla 3.8.3 and latest github update.
Where is my mistake or have a bug?
I tried to update value with following code:
PHP:
$v = array('test');
$formModel->formData['table___element_name']=$v;
$formModel->formData['table___element_name_raw']=$v;
PHP:
$v = array('test');
$formModel->updateFormData('table___element_name'), $v, true;
$formModel->updateFormData('table___element_name_raw'), $v, true;
The value in database not updated.
The result is the same when code run from php file.
If element is simple field the value updated successfully.
Tested on Joomla 3.8.3 and latest github update.
Where is my mistake or have a bug?