Edit RadioButtonField issue

I’m using the latest Aspose.PDF v23.1, try to edit Radiobutton in code, but find a problem. Below is my code and screenshot
var document = new Document(“D:\test.pdf”);
foreach (var item in document.Form.Fields)
{
if (item is RadioButtonOptionField rbof && item.Parent is RadioButtonField rbf)
{
rbf.Selected = 2;
break;
}
}
document.Save(“D:\test_edit.pdf”);
You will find that the appearance of the Radiobutton has two circles
test.pdf (102.1 KB)

aspose error.png (19.1 KB)

@Glority_Developer

Can you please share the name of this form field with us. We will be testing the scenario in our environment and will address it accordingly.

I’m using the latest Aspose.PDF v23.1, trying to edit the ListBoxField in code, but getting unexpected results. You will find that garbled characters are displayed in the ListBoxField. Below is my code
var document = new Document(“D:\test.pdf”);
foreach (var item in document.Form.Fields)
{
if (item is ListBoxField rbf)
{
rbf.Selected = 2;
break;
}
}
document.Save(“D:\test_edit.pdf”);test.pdf (61.6 KB)

aspose error.png (19.1 KB)

@Glority_Developer

Can you please share the name of this form field with us. We will be testing the scenario in our environment and will address it accordingly.

Here’s the form that will show garbled characters.
image.png (34.3 KB)

The RadioButtonField’s FullName is “Current customer”

@Glority_Developer

We were able to notice the issue in our environment. Therefore, following tickets have been logged in our issue tracking system:

  • PDFNET-53605 - RadioButtonField
  • PDFNET-53606 - ListBoxField

We will look into details of the issues and let you know as soon as the tickets are resolved. Please be patient and spare us some time.

We are sorry for the inconvenience.