Skip Navigation

[Resolved] Checkboxes titles

This thread is resolved. Here is a description of the problem and solution.

Problem:

Display checkboxes option title with PHP codes.

Solution:

You can try the workaround in below erratum:

Relevant Documentation:

https://toolset.com/errata/cannot-output-checkboxes-field-option-titles/

This support ticket is created 3 years, 8 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/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by Puntorosso 3 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#2015195

Hi, any news about this bug?
https://toolset.com/forums/topic/get-all-custom-fields/

This code should render the Titles of the checkboxes

types_render_field("obj-amenities", array('item' => $id, 'output' => 'normal', 'separator' => ','));

instead, it delivers the stored raw value.

Thanks. Best

#2015621

Hello,

I have checked it in our to-do list, it is still in Unscheduled status, so I am not sure when will it be fixed, I suggest you try the workaround in below erratum:
https://toolset.com/errata/cannot-output-checkboxes-field-option-titles/

#2016379

My issue is resolved now. Thank you!