Notifications
Announcements
Hello
I have a PDF with data and check boxes
i need to find whether the check boxes are checked or not?
and i need to extract the different fields when different checkboxes are checked.
The checkboxes are usually saved as images and do not get properly extracted by extracting the text in PAD. You need more advanced functionalities to do this - namely, AI builder in Power Automate.
-------------------------------------------------------------------------If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.
Hi,Another way to get the values is via PowerShell using an external library, e.g. PdfSharp.
(However, coding will be required...)
[void][Reflection.Assembly]::LoadFile("C:\System\Lib\PdfSharp.dll") $doc = [PdfSharp.Pdf.IO.PdfReader]::Open("C:\Test\PDF\checkbox.pdf", [PdfSharp.Pdf.IO.PdfDocumentOpenMode]::ReadOnly) $fields = $doc.AcroForm.Fields $names = $fields.Names for($i=0; $i -lt $names.Count; $i++){ $field = $fields[$names[$i]] if($field -is [PdfSharp.Pdf.AcroForms.PdfCheckBoxField]){ Write-Output("Name:{0}, Checked:{1}" -f $field.Name, $field.Checked) } } $doc.Close()
Regards,kinuasa
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 503 Super User 2025 Season 2
Tomac 321 Moderator
abm abm 237 Most Valuable Professional