Forums

How show values the checkbox type?

ozkrsanchez 03 Nov, 2020
Hi everobody,

I have a field with checkbox. I save field correctly. In the database the field is type VARCHAR(255). When i want show the values not work.

I will show the pictures of what happens

1. Information input.


2. Field in Database


3. Field in debug



4. Checkbox when trying to display the information.



5. This is the Read Data I use.




I appreciate your collaboration to solve my problem, I need to show these checkboxes as they are protected in the database.
Max_admin 03 Nov, 2020
The field value should be JSON decoded in the Read Data, there is a setting for this in v6 and also in v7, but v7 is recommeded!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ozkrsanchez 03 Nov, 2020
Hi Max,

Exist any example???
ozkrsanchez 04 Nov, 2020
Answer
Hi everybody,

I found the solucion, the code used is:

{var.jsonde:read_data_name.model_name.column_name}
You need to login to be able to post a reply.