# Editable radio button

> [HTML Version](editableradiobutton.htm)

_cformat_ code:  **R**

[Sample image here.](https://picasaweb.google.com/104621584508159374964/GUIGallery7XTREE#6014115955602316626)

Similar to **T** (checkbox) but has the additional behavior of automatically clearing any other radio buttons in the same group when one of them is set. Thus a group of radio buttons may serve as a way of inputting a "one of" choice. See sample program XTRA6. 

By default, all of the radio buttons on a row are in the same group, whether contiguous or not. To define multiple groups of radio buttons (or a vertical group), see the "Group" option in [Advanced Coldef Options](advancedcoldefoptions.md).

The XTRA6 sample program illustrates radio buttons with cell colors.

See _cformat_ code **r** for non-editable radio button.