Forums

Unckecking checkbox is not saved to database

ctrlmedia 27 Apr, 2017
Hi,
With Max's help I managed to get the checkboxes to save and show as checked within my table.

When unchecking the checkbox and clicking the update toolbar button the value is not being passed as 0/null so when the records re-load they are still showing as checked and the value is still 1 in the database?

A point in the right direction would be much appreciated.
Kind Regards
Max_admin 27 Apr, 2017
Answer
1 Likes
Hi ctrlmedia,

Does the checkbox has the "ghost" setting enabled ? if yes then what 's the value ? make sure its empty or 0

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ctrlmedia 27 Apr, 2017
1 Likes
Perfect! Just enabled Ghost and left the value blank.
Thanks for the help again Max!
Regards
This topic is locked and no more replies can be posted.