Fill Radio Button Fields
Contents
[
Hide
]
Use FormExamples.fillRadioButtonFields(...) to select a radio button option.
public static void fillRadioButtonFields(Path inputFile, Path outputFile) {
Form form = new Form();
try {
form.bindPdf(inputFile.toString());
form.fillField("gender", 0);
form.save(outputFile.toString());
} finally {
form.close();
}
}