Skip Navigation

[Resolved] display custom field value label

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

Problem:
display custom field value label for the checkboxes field

Solution:
If you are using Toolset blocks:
- you should try to display checkboxes field using single field block
If you are using classic views:
- you can use the Types shortcode:

[types field='student-review-grades' separator=', '][/types]

Relevant Documentation:

This support ticket is created 3 years, 7 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by stephaneB-5 3 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#2069873

Hello,

I am working on a website translation and I would like to know if it is possible to display the checkbox labels rather than their value?
For example :
I'd like to know if it's possible to display the labels of the checkboxes rather than their values... basically: we have to display the type of land recommended and there are several checkboxes, I change the value of each label but not the stored value so that I don't have to modify the products. Except that on the site, the value displayed is the unmodified one. Is it possible to display the label?

Thank you in advance.

Translated with hidden link (free version)

#2070005

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As I understand - you have a checkboxes custom field with several options added using Types.

If this is correct, yes, you can display the checkbox label.

If you are using blocks, you should try to display checkboxes field using single field block and if you are using classic views, then you can use the Types shortcode: [types field='student-review-grades' separator=', '][/types]
where: please adjust the field slug.

#2070345

My issue is resolved now. Thank you!