You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Kernel forms: a radio group with no button on is written with NoToggleToOff #773
This issue covers the group with no selection. A selected value that names no button is #783 (12.7.4.2.4 describes V but sets no writer requirement).
ISO 32000-1, 12.7.4.2.4: the radio field's V "holds a name object corresponding to the appearance state of whichever child field is currently in the on state"; Table 226 (ISO 32000-2, Table 229), bit 15: "If set, exactly one radio button shall be selected at all times".
Measured on origin/main b2791ba, no claim, AddRadioButtonGroup("rg", [A at y 700, B at y 660], selectedExportValue) then Save, read back with the byte scanner of the audit:
selectedExportValue
parent /Ff
parent /V
kids /AS
what is wrong
"B"
49152 (bits 15, 16)
/B
/Off, /B
none
null
49152
/Off
/Off, /Off
NoToggleToOff is set and no button is on
AddRadioButtonGroup checks that no export value is Off and that none repeats; it does not check selectedExportValue against them (PdfDocument.cs). BuildRadioGroupField sets FfNoToggleToOff unconditionally (AcroFormBuilder.cs).
Sweep: the radio group is the only writer of NoToggleToOff and of a parent V name in the repository; Layout has no form element (#300), and the other seven packages create no radio field.
Proposal
With no selection, either clear NoToggleToOff (a reader may then let the user switch the group off again, which is what an unselected group means) or select the first button. The first changes only the Ff of groups with no selection and is listed as a deliberate output change; to be settled in the fix.
Document both on AddRadioButtonGroup.
Acceptance
The skipped test ConformanceAuditG6Tests.Iso32000_1_12_7_4_2_4_NoToggleToOffNeedsExactlyOneButtonOn runs and passes; its Pins test is replaced.
changed the title [-]Kernel forms: a radio group is written with a value that names no button, or with NoToggleToOff and no button on[/-][+]Kernel forms: a radio group with no button on is written with NoToggleToOff[/+]on Nov 29, 2026
Activity
[-]Kernel forms: a radio group is written with a value that names no button, or with NoToggleToOff and no button on[/-][+]Kernel forms: a radio group with no button on is written with NoToggleToOff[/+]