Forums

load data from array

azz13 02 Apr, 2014
I created form with checbox group for editing data. I need read checbox values from saved array.
In version 4 DB Record loader have field "Array Fields Sets" what extract values. How i can do that in version 5
Max_admin 02 Apr, 2014
Answer
This feature is not available in v5 yet, so you will have to do it manually, just add a "custom code" action after the "db read" and add this code:

<?php
$form->data["checkbox_group_name"] = explode(",", $form->data["checkbox_group_name"]);


Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
azz13 02 Apr, 2014
Thank you very much
This topic is locked and no more replies can be posted.