[Solved] Manipulation of formData via php-plugin OnLoad

mudshark79

Member
while elaborating on the possibilities to expand the scope of prefiltering the options of a database-join dropdown I found, that contrary to the wiki it is not possible to alter the formdata with

Code:
$formModel->updateFormData('element', 'value', true);

when onload. Can you confirm this? This is a bug, isn't it? Even though I found another way to get the wanted result for my initial problem I'm afraid that data-maipulation OnLoad is needed sooner or later.... also the WIKI says, that this should work onload.
Tested on two different installation (joomla 3.3.6 and last tuesdays github code)...

Regards
 
Fabrik 3.1:
$formModel->data //onload: use full element names 'table___element' e.g. $formModel->data['table___element']='abc';

updateFormDate is for "Updating a form's value on Save"
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top