I'm trying to auto create a new entry in another table after a new data submission has been added and pre-fill some data into the second table. I'm aware we can get the next pk for the table the form relates to before saving the form by
Is there a similar way to do it for the other table but in the same form so that I can run a query to add a row to the other table with some data from this form?
Marc
PHP:
$rowid = JArrayHelper::getValue($formModel->formData, 'rowid', '');
Is there a similar way to do it for the other table but in the same form so that I can run a query to add a row to the other table with some data from this form?
Marc