---
title: "PdfRadioButtonField"
canonical_url: "https://www.nutrient.io/api/python/editors/pdf/formfields/pdf-radio-button-field/"
md_url: "https://www.nutrient.io/api/python/editors/pdf/formfields/pdf-radio-button-field.md"
last_updated: "2026-06-09T10:32:42.528Z"
description: "Represents a radio button form field in a PDF document. Radio buttons are part of a mutually exclusive group where only one option can be selected."
---

Represents a radio button form field in a PDF document. Radio buttons are part of a mutually exclusive group where only one option can be selected.

```python

from nutrient_sdk import PdfRadioButtonField

```

**Inherits from:** [`PdfFormField`](/api/python/editors/pdf/formfields/pdf-form-field/)

## Construction

`PdfRadioButtonField` cannot be instantiated directly. Obtain instances through static factory methods or via other SDK classes.

## Properties

### has_selection

```python

@property
def has_selection(self) -> bool

```

Whether any option is currently selected.

**Type:** `bool`

*Read-only property.*

---

### option_count

```python

@property
def option_count(self) -> int

```

The number of options (radio buttons) in this group.

**Type:** `int`

*Read-only property.*

---

### selected_option

```python

@property
def selected_option(self) -> str

@selected_option.setter
def selected_option(self, value: str) -> None

```

The currently selected option value. Set to "Off" to deselect all options.

**Type:** `str`

---

## Inherited members

From [`PdfFormField`](../pdf-form-field/): `child`, `child_count`, `default_value`, `field_type`, `full_name`, `is_read_only`, `is_required`, `is_terminal`, `name`, `parent`, `value`, `widget`, `widget_count`, `remove_child_at`

---

## Related pages

- [All public classes import directly from the top-level package:](/api/python/editors/pdf/formfields.md)
- [Pdf Combo Box Field](/api/python/editors/pdf/formfields/pdf-combo-box-field.md)
- [Pdf Check Box Field](/api/python/editors/pdf/formfields/pdf-check-box-field.md)
- [Pdf Form Field Collection](/api/python/editors/pdf/formfields/pdf-form-field-collection.md)
- [Pdf Form Field](/api/python/editors/pdf/formfields/pdf-form-field.md)
- [Pdf List Box Field](/api/python/editors/pdf/formfields/pdf-list-box-field.md)
- [Pdf Push Button Field](/api/python/editors/pdf/formfields/pdf-push-button-field.md)
- [Pdf Signature Field](/api/python/editors/pdf/formfields/pdf-signature-field.md)
- [Pdf Text Field](/api/python/editors/pdf/formfields/pdf-text-field.md)

