Forums

CF8 Set initial checkbox state from DB read

pimh 05 Jan, 2025

Hi Max, 

I was trying to create a form that I had in CF6 in which I have a checkbox that has an initial state. This initial state depended on a value read from database. Currently in CF8 I can set the initial checkbox state as checked, but not by a given value ({var:...}). I also noticed there was no ghost value (value when stat is unchecked). This is in my opinion crucial to make the checkbox follow a read variable. 

For the time I used a radiobutton group, but rather have a checkbox for this. 

Is it correct that it is not (yet) possible to do, or am I missing something? And if indeed missing, when will this functionality be added? 

Kind regards,Pim

Max_admin 09 Jan, 2025
Answer

Hi Pim

I have added this to the next update!

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.