ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

Checkbox from array code in Chronoforms

zandergraphics 07 Mar, 2012
I have a field that is saves as a comma separated array and I need to use it to create a set of checkboxes. Seems like it shouldn't be that difficult but I can't seem to figure it out. The field that contains the array is named 'interior_all' and the table (names 'airplanes') is already linked to the form through the DB Link tab. Obviously, if there are no options the checkboxes would not appear and this would be used when the admin is updating the entries through Chronoconnectivity but the code would go on the form itself so the syntax would need to be that of Chronoforms and not Chronoconnectivity.

Let me know if you need more information and/or how much you would charge to write up this code. Thanks...
Max_admin 14 Mar, 2012
Hi,

I'm not sure, you need the stored values to "generate" a checkboxes list OR to "fill in" an existing checkboxes list ?

What's your Chronoforms version ? if its V4 then how do you load the data from the database ? using a "DB Record loader" action ?

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
GreyHead 14 Mar, 2012
Hi zandergraphics,

If I understand correctly you want to generate the options from the stored data? If so the Dynamic Value tabs that Max has added to the Select, Radio and Checkbox elements in the latest releases will let you do that.

Bob
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com