cindy | Posts: 380

Document extraction for radiobutton group

0 votes

Hi,

I read the website below about naming conversion for document extraction, but I don't see the sample for radio button group, could you please send me the sample?

https://community.onespan.com/documentation/onespan-sign/guides/feature-guides/developer/document-extraction#Text2

thanks,

Cindy


Duo_Liang | Posts: 3776

Reply to: Document extraction for radiobutton group

0 votes

Hi Cindy,

 

Unfortunately, document extraction doesn't support radio button. If your document design includes radio button, I would more suggest you use text tags feature or position extraction feature.

 

Duo


cindy | Posts: 380

Reply to: Document extraction for radiobutton group

0 votes

got it. but seems radio button group works in sender UI, from sender UI, I am able to add radio button group for the signer, how do you extract it with the form created by sender UI?

thanks,

Cindy


cindy | Posts: 380

Reply to: Document extraction for radiobutton group

0 votes

Hi Duo,

could you please provide the sample how to use radio button group in text tag?

 

thanks,

Cindy


Duo_Liang | Posts: 3776

Reply to:

0 votes

Hi Cindy,

 

Here you are:

{{esl_optionA:Signer1:Radio:Group("Frequency"),Value("X"),size(10,10),offset(45,-10)}}
{{esl_optionB:Signer1:Radio:Group("Frequency"),Value(""),size(10,10),offset(45,-10)}}
{{esl_optionC:Signer1:Radio:Group("Frequency"),Value(""),size(10,10),offset(45,-10)}}

The highlighted parts are not mandatory in the syntax.

 

For your the other question, position extraction won't work in sender UI (expect for ADA transactions), this is because the extraction only happens when document get uploaded.

 

Duo

 


cindy | Posts: 380

Reply to: Document extraction for radiobutton group

0 votes

Hi Duo,

I create the text tag in my sample pdf (see attached) with the sample you provided above, but somehow radio button is not working for me. the sample PDF has different text tag, seems only radio button group doesn't work

here is the payload I used:

 


Duo_Liang | Posts: 3776

Reply to:

0 votes

Hi Cindy,

 

This is because the text tags can't be broken into two lines. You can actually reduce the font size (even as small as 1 px) and please make sure there's no extra space in the middle.

 

Duo


cindy | Posts: 380

Reply to:

0 votes

Hi Duo,

 

I tried and tested your suggestion, it works. 

one quick question, in my sample pdf (attached), the radio button is far from the text "one", how to make it the radio button next to the text "One" since the syntax for radio button text tag is so long? 

thanks,


Duo_Liang | Posts: 3776

Reply to:

0 votes

Hi Cindy,

 

This is why you may want to use the offset attribute:
{{esl_optionA:Signer1:Radio:Group("Frequency"),Value("X"),size(10,10),offset(45,-10)}}

And you can find the axis in below picture:
6-28-1

 

Duo


cindy | Posts: 380

Reply to: Document extraction for radiobutton group

0 votes

I tried your offset, it seems the offset is for the position of the radio button, but it can't reduce the space between radio button and the text "one", the distance between the radio button and text is the tag such as '{esl:Primary01:Radio:Group("Frequency"),Value("X"),size(10,10),offset(100,-10)}}' which is long. 

do you have sample for the button next to the text? I tried offset(45,-10), doesn't work for me.

 


cindy | Posts: 380

Reply to: Document extraction for radiobutton group

0 votes

thanks Duo for the information, my font size is 8 px, and adjust to offset (300,10), but there is still space between the radio button and the text. see attached screenshot and pdf file


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off