Radio Buttons - single option

Create a single slider or toggle for a binary choice in ChronoForms.

Overview

The radio button style options in CF6 only display two separate buttons, sliders, or toggles for Yes/No selections, not a single unified control.
Use a checkbox element instead, setting the ghost value to the default option and the checkbox value to the alternative.

Answered
ChronoForms v6
Ni NickOg 05 Jun, 2017
Hi
I have just noticed the style options for the radio buttons in CF6. If I have just a Yes/No option that puts up two buttons, sliders or toggles.
It works fine as it is but, for the slider or toggle options that could logically be a single slider, could it not? How would one implement that?

[attachment=58853_20170605203157_4chrono-png.png][/attachment]
Max_admin Max_admin 07 Jun, 2017
Answer
Hi Nick,

This is not supported, but if you want to have a binary switch then you can use a checkbox and set the "ghost value" to the default value you want to have, and the checkbox value to the other value.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ni NickOg 07 Jun, 2017
1 Likes
Thanks Max - I had often wondered about that ghost value.

Nick
This topic is locked and no more replies can be posted.