Skip Navigation

[Resolved] Why does my checkbox not show my values (YES/NO)

This support ticket is created 5 years, 2 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)

This topic contains 4 replies, has 3 voices.

Last updated by brianN-3 5 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1520559
Skærmbillede 2020-02-21 kl. 12.34.59.png
Skærmbillede 2020-02-21 kl. 12.35.19.png

Hi again

I have one more question to the FORMS

I have added some checkboxes, that can only be disabled or enabled. I Have tried to make it use Ja / Nej as the to values to display (that is Yes and No in danish).

But the value next to the checkmark is the same as the Label, so now it display the label twice - once as the label over the checkboxx and once under - that look no nice and confusing.

Så how do I make it display/use the values I set i the Custom Field or if not posible hide the Label, so it is not there twice

Look at my screendump to see what I mean

// Brian N

#1520631

That's the value it'll show in the front end, not in the backend
Also, that's a Checkbox, not a checkboxes Field so you can only add one option - and it will display yes or no only when displaying that field

Can you confirm you can see the right value in the front end?

#1521193

Hi Beda

The screen dump I sent you was from frontend, where you see the same text twice. Here I need the YES when clicked and NO if now or at least remove the LABEL, so it is not there twice

I do use checkbox - only one option (clicked or not)

The other was to show you my setup in custom fields.

// Brian N

#1521361

Shane
Supporter

Languages: English (English )

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

Hi Brian,

As Beda mentioned this is a checkbox. A single checkbox name on the frontend will always display as the name of the given field.

It seems what you need here is a Radio Button group. With this custom field you can add your yes and no options as it will give your desired output on the frontend and give the user an option to select yes or no.

Thanks,
Shane

#1523481

My issue is resolved now. Thank you!