> For the complete documentation index, see [llms.txt](https://xoops.gitbook.io/xoops-modules-cookbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xoops.gitbook.io/xoops-modules-cookbook/form-classes/forms/xoopsformradioyn.md).

# XoopsFormRadioYN

**Definition**

```php
XoopsFormRadioYN($caption, $name, $value=null, $yes=_YES, $no=_NO, $id="")
```

**Usage** This class shows radio box with text. But diferent from XoopsFormRadio, XoopsFormRadioYN can show only twho selection Yes and No. Both can be changed with $yes and $no parameters.

![](/files/-MPw6srMyVIkeb04pJjj)
