web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to find a check bo...
Power Automate
Answered

How to find a check box is checked or not?

(0) ShareShare
ReportReport
Posted on by 203 Moderator

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.

I have the same question (0)
  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    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.

  • kinuasa Profile Picture
    795 Most Valuable Professional on at

    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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard