Hi,
I need to prefill fields on a form using master data in a table. DB Record loader fetches the data. Update a field on the form using php seem to work but the field is displayed empty.
a_evenement is updated with a value from the database table using custom code:
This code seems to work fine according to the debugger output, however the field is displayed empty. Any ideas? I would expect a_evenement to be prefilled with "Masterclass Dupo"?
Debugger:
I need to prefill fields on a form using master data in a table. DB Record loader fetches the data. Update a field on the form using php seem to work but the field is displayed empty.
a_evenement is updated with a value from the database table using custom code:
<?php
$form->data['a_evenement']= $form->data['CelevtEvenement']['a_evenement'];
?>
This code seems to work fine according to the debugger output, however the field is displayed empty. Any ideas? I would expect a_evenement to be prefilled with "Masterclass Dupo"?
Debugger:
Array
(
[option] => com_chronoforms
[chronoform] => mcpo-Copy
[a_code] => madu
[Itemid] =>
[CelevtEvenement] => Array
(
[cf_id] => 1
[a_code] => MADU
[a_evenement] => Masterclass Duplo
[a_datum] => 2999-01-01 00:00:00
[a_prijs] => 99
)
[a_evenement] => Masterclass Duplo
)
Hello celevt,
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I link two DB Multi Record Loaders?
P.S: I'm just an automated serviceπ
I'm not a Chrono professional, but after checking your new post, I think that the following links may help:
How can I link two DB Multi Record Loaders?
P.S: I'm just an automated serviceπ
This topic is locked and no more replies can be posted.