How to get selected check box value using form extractor in DU

Hi,
I have a pdf as:


Where I want to extract selected checkbox value that is “Pria” as string

I found few resources where they extracted as Boolean value

Is it possible extract string value beside the checkbox with Form Extractor?

Hi @Akshaya89
When configuring the extraction, you can map the text associated with the checkbox (e.g., “Pria”) instead of just the checkbox itself.

Thanks
Akash Javalekar

@Akash_Javalekar1
Did you mean that I’ve to highlight both checkbox and value associated with that?

No just text you want to extract that is pria

@Akash_Javalekar1
But if I use other document it is extracting previous document value

How do I make it dynamic?

Is your text position is fixed, or it will vary for every document?

@Akash_Javalekar1
It is not fixed. Sometimes it could be ‘Pria’ and sometimes it could be some other value

then it would extract the values for every document in taxonomy create one text field and just select that text in form extractor

@Akash_Javalekar1
I didn’t get it.
Could you please in detail

Can you share your one document if possible i will share with you code

@Akash_Javalekar1

Test.pdf (144.7 KB)

In this pdf I want to get the value as C Corporation which is highlighted by checkbox

Thank You give me sometime will send you

1 Like

Hi @Akshaya89

Please find workflow which can extract checkbox text value
Document_Understanding.zip (482.0 KB)

@Akash_Javalekar1

Why it is extracted text as Individual/sole proprietor?
I want the check box associated value.

It’s just I have given the how would you able to extract you can do as i have given the workflow


Document_Understanding (2).zip (482.2 KB)

Thanks a lot!! @Akash_Javalekar1

1 Like

Hi @Akash_Javalekar1 ,

In form extractor template did you just use anchor to indicate that checkbox?

Yes if checkbox enable it will extract the value associated with checkbox

@Akash_Javalekar1 and do i need to highlight that associated value as well?

Yes please see the below screenshot which checkbox value you want to extract