Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Checkbox export value
  FAQ FAQ  Forum Search   Register Register  Login Login

Checkbox export value

 Post Reply Post Reply
Author
Message
shlomir View Drop Down
Beginner
Beginner


Joined: 17 Jan 17
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote shlomir Quote  Post ReplyReply Direct Link To This Post Topic: Checkbox export value
    Posted: 08 Mar 17 at 11:12AM
Hi,

I'm using an online system that enables the user to upload PDF forms and fill them online.
The problem is that this system is not recognizing radio-buttons.

I am trying to create a form using check-boxes that acts like radio. btw Acrobat Reader allows it by duplicating the checkbox and choosing different export value.

How do I do this using Debenu?

I have read this one:
http://www.debenu.com/kb/create-duplicate-checkbox-form-fields-with-different-export-values/

If I recreate what's written in the note using Acrobat Reader, Debenu identifies the fields as checkbox not as radio.

My code is:

pdf.SelectPage(1);
pdf.SetOrigin(1);
pdf.SetNeedAppearances(1);
                int sig = pdf.NewFormField("test1", 7);
                int chl = pdf.NewChildFormField(sig, "c1", 3);
                pdf.SetFormFieldCheckStyle(chl, 0, 1);
                pdf.SetFormFieldValue(chl, "v1");
                pdf.SetFormFieldBounds(chl, 100, 100, 10, 10);
                chl = pdf.NewChildFormField(sig, "c2", 3);
                pdf.SetFormFieldCheckStyle(chl, 0, 1);
                pdf.SetFormFieldValue(chl, "v2");
                pdf.SetFormFieldChildTitle(chl, "c1");
                pdf.SetFormFieldBounds(chl, 400, 100, 10, 10);

Is there other library I can use to do this instead of Debenu?
(If obviously it's not possible with Debenu)
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store