Skip to main content
CalcBuilder logo

CalcBuilder Tutorial

Calc Builder field type: Radiobutton

Radiobutton is a single-choice control where every option is visible at once — good for two or three mutually exclusive choices.

A Radiobutton group.
A Radiobutton group.

Key settings

Same Options editor as the Option List. Set a default so one is pre-selected.

In code

$variable is the chosen option’s value ('m' / 'y' in the demo).

Part of the Form Fields reference. All types are demonstrated together in the Field Types Showcase.

...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!
...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!