Q: In our Acroform we defined a Radio Group Name called ‘SubTitle’ which has five physical buttons representing someone’s title like ‘Mr’,’Mrs’,’Miss’,’Ms’ or ‘Dr’. In the properites of each physical radio button the values are defined as ‘Mr’, ‘Mrs’, ‘Miss’,’Ms’ or ‘Dr’.
So when we try to retrieve the radio button selected we have the following code
f = doc.getField("SubTitle"); // Values should be Mr,Mrs,Miss,Ms,Dr
if (f != null) sub_title = f.getValueAsString();