Skip Navigation

[Resolved] Displaying checkbox fields in Elementor

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.

This topic contains 2 replies, has 2 voices.

Last updated by filipeC 1 month, 3 weeks ago.

Assigned support staff: Waqar.


I would like to display data collected from a checkbox Field on an Elementor page template.

I used the code recommended in another thread:

[types field='shapes' separator=', ' show_name='true'][/types]

However, this displays numbers (Shapes: 1, 2), and I need to display text (Shapes: Round, Flat). I know Toolset saves numbers to the database, which is fine, but how do I show what those numbers mean on the front end?



Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)


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

To show a textual value from the checked/unchecked state of checkboxes, you can select "Show one of these two values" option in the field's settings and enter the desired text value for the "Selected" state.
( please refer to the attached screenshot )

After that, you'll be able to show these values using the shortcode:

[types field='shapes' separator=', '][/types]

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



My issue is resolved now. Thank you!