CheckBox Group - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Development and suggestions about third part tool integration.
Cordova, Xamarin, Basic4Android topics are listed here.
  • Page:
  • 1

TOPIC: CheckBox Group

CheckBox Group 6 months 3 weeks ago #13838

  • mfranc28
  • mfranc28's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 25
  • Thank you received: 0
I'd like to know if it's possible to menage checkbox group. I have a PDF with, for example, 2 checkbox with same name but different export value.

For example a YES/NO check with name "QuestionCheck1" and different export value, YES checked 1, YES unchecked 0, NO checked 3, No unchecked 2

Please Log in or Create an account to join the conversation.

CheckBox Group 6 months 3 weeks ago #13839

  • goldkyo
  • goldkyo's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 12
  • Karma: 1
  • Thank you received: 1
Sorry, but can you please make the request more clear? Do you mean there are two different forms in one PDF document each with one checkbox, and you would like to merge the two forms into one? If I check both the checkboxes what are you expecting for the export value? "1 and 3" or "4"? Thank you.

Please Log in or Create an account to join the conversation.

CheckBox Group 6 months 3 weeks ago #13840

  • mfranc28
  • mfranc28's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 25
  • Thank you received: 0
No. You have single page pdf with a series of questions and answer.
For example: 1 Question: Are you a football player? YES NO

The YES/NO are two checkbox with same name (chkquestion1) but with different export value, so if I check if chkquestion is true o false I can't do that because both have same name.
Probably you say: why? Why you can't name it different?
Because I don't make the PDF, is a customer request mandatory.
At my company this example names MUTUAL CHECKBOX.

Please Log in or Create an account to join the conversation.

CheckBox Group 6 months 3 weeks ago #13842

  • goldkyo
  • goldkyo's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 12
  • Karma: 1
  • Thank you received: 1
OK, so your issue is actually two checkboxes with the same name. Sorry, you cannot modify the export value to 2 and 3 since it violates Adobe PDF standard (value 2 and 3 are used for radio button). But you can use Annotation.GetIndexInPage() method to get a unique index reference for each annotation in the same page. Hope this can help you.

Please Log in or Create an account to join the conversation.

Last edit: by goldkyo.
  • Page:
  • 1
Powered by Kunena Forum