This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/python/editors/pdf/formfields/pdf-radio-button-field.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. PdfRadioButtonField

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.

from nutrient_sdk import PdfRadioButtonField

Inherits from: PdfFormField

Construction

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

Properties

has_selection

@property
def has_selection(self) -> bool

Whether any option is currently selected.

Type: bool

Read-only property.


option_count

@property
def option_count(self) -> int

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

Type: int

Read-only property.


selected_option

@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: 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