Satin

Results 3 comments of Satin

@JennyMenghani try this - ``` import { createPDFAcroFields, PDFName } from "pdf-lib"; /** @type {PDFAcroField[]} */ const kids = createPDFAcroFields(field.acroField.Kids()).map(_ => _[0]); kids.forEach((kid) => { if (PDFName.of(valueToCompare) == kid.getOnValue()) {...

@Trapfether Were you able to flatten the PDF and get the correct render for the checkbox's checked state?

Seconded. I found a way to check the child tags and check the corresponding one ( Example here: https://github.com/Hopding/pdf-lib/issues/1185#issuecomment-1069657650 ), But any checkbox except the first one is empty when...