CF8 Set initial checkbox state from DB read

Set initial checkbox state from database in ChronoForms.

Overview

In CF8, checkboxes cannot use dynamic values from database reads to set their initial checked state.
This functionality will be added in the next CF8 update, allowing checkboxes to follow a read variable.

Answered
ChronoForms v8
pi 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 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.
This topic is locked and no more replies can be posted.