how do I create a datatable that saves form fields?

Carlos angel 26 Oct, 2017
I created a form that has multiple fields, but when I try to save them in a datatable, I can not save.

Can someone help me?
GreyHead 27 Oct, 2017
Hi Carlos Angel,

What exactly is the problem?

If you have added a multiplier to your form the the data should be returned as an array of results and you can either convert that array to a string or, usually better, save the multiplier data to a second table linked to the main one by the new record ID.

Bob
Carlos angel 27 Oct, 2017
Hi, Grey.


Each time I finish filling out my form and I try to save it appears this error


Warning: require_once (/ home /.../ public_html / joomla / libraries / joomla / document / html / renderer / head.php): failed to open stream: No such file or directory in /home/..../public_html /joomla/templates/jl_arc_free/error.php on line 42

Fatal error: require_once (): Failed opening required '/home/.../public_html/joomla/libraries/joomla/document/html/renderer/head.php' (include_path = '.: / Opt / cpanel / ea-php71 / root / usr / share / pear ') in /home/..../public_html/joomla/templates/jl_arc_free/error.php on line 42
GreyHead 28 Oct, 2017
Hi Carlos angel,

The error appears to be from a file in your template. Please try changing the template temporarily and see if the message disappears. If it does you may need to update your template.

Bob
Carlos angel 30 Oct, 2017
Oi GreyHead.


I already know what the problem was.
This was happening because I had added a field multiplier inside the form, but the data was not saved because I did not have an array that could save the data from the multiplier.
The question now is: how can I make this array?
This topic is locked and no more replies can be posted.