Skip Navigation

[Resolved] If I check a checkbox , after I save the checkbox isn't more checked

This support ticket is created 6 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 8 replies, has 2 voices.

Last updated by Leonardo 5 years, 10 months ago.

Assisted by: Waqar.

Author
Posts
#1118967

If I check a checkbox in custom fields , after I save the checkbox isn't more checked

#1118994

Hi Leonardo,

Thank you for contacting us and I'll be happy to assist.

I’ve tested the single and multiple checkboxes in custom fields and they seem to save as expected on my test website.

I’ll recommend to temporarily disable all active plugins, except the Toolset types and then check the checkbox field again.

In case the issue still persists, you’re welcome to share temporary access (WP-Admin and FTP) to your site ( preferably, to a test site where the problem has been replicated if possible ).

This access will allow us to offer better help and check if some configurations might need to be changed. Please also share exact details about the specific custom field that is not saving as expected.

Your next answer will be private which means only you and our support team will have access to it.

If you’re going to share the access details for the live/production website, it is very important that a complete backup of your database and website has been made.

We would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is really important.

Please let us know if you have any further information or questions.

Regards,
Waqar

#1119779

Hi Leonardo,

Thanks for writing back and for sharing the access details.

I’ve checked the two checkbox fields that you’ve mentioned and noticed that they both had a ' character in their stored values (i.e. “ ACCESSIBILE ANCHE CON RIDOTTA MOBILITA' ” & “ NON ACCESSIBILE CON RIDOTTA MOBILITA' ”).

These values are stored correctly in the database, but their respective checkboxes are not shown correctly checked, on the edit screen.

Appreciate you brought this forward and I’ll report this limitation of checkbox value to our concerned team. We’ll get back in touch, as soon as there is an update.

As a quick fix, you can either remove the ' character from those values or adjust the settings for these custom fields, so that “Value to store” holds “1” and actual string to show, is saved in the “Selected:” field ( screenshot: hidden link ).

I hope this helps and please let us know if you need any further assistance.

#1119797

Hello, the plugin show in right way the value, the problem is that It isn't cheched in backoffice a so I cannot deselect the checkbox to change the value.
I hope it's clear my necessity
regards
L.

#1119828

MAYBE THIS SCRIPT FIX THIS ISSUE:
$string = "In this text you can see the presence of the apex : DELL'INBUTO ";
$string = addslashes($string);
$query = "INSERT INTO forum (commento) VALUES ('$string')";

#1119913

Hi Leonardo,

Thanks for writing back.

Yes, your report is clear and I was able to reproduce this behavior on my test website as well.

The plugin saves and returns the values of those checkbox fields correctly, but their control in the admin area edit screen doesn't show the updated status correctly.

This has been reported to the concerned team and we'll let you know once there is an update on this report.

As a quick workaround, you can update the values of those checkboxes from:
-ACCESSIBILE ANCHE CON RIDOTTA MOBILITA'
-NON ACCESSIBILE CON RIDOTTA MOBILITA'

To only:
-ACCESSIBILE ANCHE CON RIDOTTA MOBILITA
-NON ACCESSIBILE CON RIDOTTA MOBILITA

i.e. remove the ' from the end and the checkboxes will work, in the admin area too.

#1133342

Hi Leonardo,

Just wanted to follow up and update you, that the fix for this issue, is set to be included in the next major release ( Types v3.2 ).

Thank you for your report and patience.

regards,
Waqar

#1155395

Hi Leonardo,

Thank you for waiting and just wanted to update that Types 3.2 has been released, which addresses the issue from your report.

regards,
Waqar

#1226105

Hi, it doesn't work yet.
Please Have look my web site and you use checkbox MOBILITA' RIDOTTA, it doesn't work.
hidden link

regards
Leonardo