Skip Navigation

[Resolved] Conditional Output for Checkboxes Custom Field (for each)

This support ticket is created 4 years, 12 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Shane 4 years, 12 months ago.

Assisted by: Shane.

Author
Posts
#1753081

Tell us what you are trying to do?
I am trying to add some HTML or a span tag with a CSS class to each checkbox value based on if it was checked or unchecked.
Features: (field name)
<span class="checked">Value 1</span>
Value 2
Value 3
<span class="checked">Value 4</span>

Is there any documentation that you are following?
I viewed everything I could search for on types, conditional output, shortcodes

Is there a similar example that we can see?
Unclear

#1753943

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Jeremy,

Thank you for getting in touch.

Perhaps you can have a look at this document in the link below.
hidden link

Thanks,
Shane