Print Page | Close Window

Checkbox export value

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3444
Printed Date: 05 May 24 at 5:02AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Checkbox export value
Posted By: shlomir
Subject: Checkbox export value
Date 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)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk