How to create non-exclusive checkboxes with the same name in an Acrobat/PDF form - pdf

In Acrobat Professional, I create multiple checkboxes and assign the same name to each checkbox, but a different export value. With this, the checkboxes seem to behave like radio buttons: Acrobat only lets me check one of them. If the first is checked, and I click on the second one, Acrobat unchecks the first one.
If I assign different names to the checkboxes, then they do behave independently. However it would make things easier for my code that fills out the form if the name could be the same. Is it possible to create non-exclusive checkboxes (i.e. real checkboxes) that have the same name in Acrobat?
(For reference, this is the PDF I created: 20110503-exclusive-checkboxes.pdf)

Judging from the PDF Reference, it's impossible to create independent checkboxes with the same name.
In fact, a PDF Viewer should use the name to detect which checkboxes will form a check box field.
See Adobe's PDF Reference, 8.6.3 Field Types, Check Boxes (page 648) for more information.

Use the same name and export value for all your checkboxes and they will checked/unchecked together. Adobe Acrobat supports this, it is also permitted by PDF specification.

Can't be done.
That is the very definition of how you define radio groups in a PDF.
You can have different check boxes "foo.MyCheck", "bar.MyCheck", and so forth, and all are different fields. Different parent fields can have children with the same local name but different fully qualified names. Not a problem.
What is it that you're trying to do, anyway?

Adobe Acrobat versions 8,9 and X allow you to create non-exclusive checkboxes. Although, this allows you to create non-exclusive checkboxes, Orbeon does not recognize these fields.
Once you create the initial checkbox,
Right click the check box and select "Place Multiple Fields..."
http://i.stack.imgur.com/ASj3Q.png
In the Create Multiple Dialog box modify the number of fields needed (down/accross)
http://i.stack.imgur.com/gYOoU.png
Then select the other checkbox properties to modify the Export Values

Related

Checkboxes to generate letter

I am currently building a User form for some letters we use at work and I would like to design the userform to generate the letter with mostly just checkboxes. e.g.
Your application cannot be completed until the following is received:
A Statutory declaration providing a statement in regards to your: financial situation
In the above example I would need two checkboxes.
Checkbox 1:
A statutory declaration providing a statement in regards to your:
Checkbox2:
financial situation
I guess the question I am asking is in two parts:
1: How do I get checkboxes to generate text?
2: How do I get multiple checkboxes to generate text against the same bookmark/s?
I may not need a Statutory Declaration, I may need a "certified copy of:" ---"bank details, proof of identity, proof of citizenship"
As you can tell from the user form it's pretty extensive and all the checkboxes in the lower half of the form need to generate text.
Grateful for any advice or direction or resources or anything.
In theory, you might store the text to be inserted in your letter in the Check box's caption property and use code to insert the text into your letter when the box is checked. I think this is cumbersome and recommend that you use the caption for a caption, for example, "Statutory declaration". If it is checked such a paragraph is inserted into the letter, else it is left out.
The required declaration may include one or several of many items. Since you are thinking of check boxes, you could have one for each "bank details", "proof of identity", "proof of citizenship". These selections are very short and could be placed in the caption property. But if the texts are longer or of greatly varying lengths I would recommend the use of text boxes instead. So, if Cbx1 is clicked, the text of Tbx1 is inserted etc.
Alternatively, if only one item is required you might consider a dropdown. Or you might use a list box with multiple choices. In principle, I think that using different systems for different levels of decision making helps the user to find his way through your form. For example, use check boxes to select paragraphs (the full text of which might be shown in adjacent text boxes), and then switch to list boxes, option buttons, dropdowns or check boxes which look completely different to specify the contents of the selected paragraph. All of that detail might as well be hidden until the user has checked its box.

Adobe pdf checkbox automatically selects all options

I hope this is correct forum since it may have to do with programming, otherwise tell me where to post
I am filling out this application, which must be typed. Software is Adobe Acrobat Reader DC, Version 15.009.20069.28170
http://www.nyc.gov/html/dcas/downloads/pdf/misc/mgsp_application_2016.pdf
When I select Checkbox, it automatically selects ALL options, i.e.
and
How to fix this? Thank you.
With Reader, you can't do anything on the form. And the software to view it is innocent.
What you can do is contacting the issuer of the form, and let them know that the form is messed up.
I had a look at this form, and it is a disgrace as a fillable form (you may quote me on that… credentials on answers.acrobatusers.com).
Obviously, the creator of the form made a nice layout in InDesign, created a PDF and then let the automatic field recognition run over it. With the checkboxes, it looks as if that person added a checkbox, and then drag-copied (or copy/pasted) it (more likely the latter, because the checkbox fields are not aligned, just slapped over the checkbox symbol in the base document) — and did not adjust their export values.
Obviously, this form has not been tested at all, because if so, this would have been noticed. Also, as an electronic form, it is useless, because of the field naming caused by the automatic field recognition.
…just a "nice" example: for phone numbers, the area code is visually separated from the number, and appears between parentheses. That lead to two fields. The field for the area code is named "Phone", the field for the number is named "undefined 1".
Rant mode off…
If you have Acrobat at hand, you can open the form, go to the Prepare Form tool, and change the export values of the checkboxes.

How to insert text to QTextEdit according to combo box CurrentText?

In an application I am creating I have a combo box with a list of items and a QTextEdit (read only) below it.
I want to display certain text (it can be a plain text) according to which option is selected. I mean to create a combo box where the user can choose an option and a detailed description (in QTextEdit) of selected option.
How this can be achieved?
For now the only thing I had figured was using the Signal and Slot in Designer and connecting combo box with QTextView and setting currentTextChanged() - setText(). And it works nicely but it just sets the text from Combo Box into the QTextView... and that is not the thing I want.
I am using QtCreator 2.8.1 with Qt5.1.1 on Elementary OS Luna (Ubuntu derivative, Linux).
it coule be easier to connect the QComboBox::currentIndexChanged(int) signal to a custom SLOT in your class.
then use that index on the detailed description list to access the text.
soo long zai
You will need to create your own custom "setText" slot which will the QTextEdit's setText slot with the desired string content.
Basically, you need to have a mapping between the QComboBox options and the relevant texts displayed in the QTextEdit.

Hide few fields in EditForm.asx of Picture Library in sharepoint 2010

I have a picture library and added few fields to it. When i click add new item from picture library, the EditForm.aspx appears after uploading the picture. This form contains many fields of which I want to hide Title, Date Picture Taken, Description, and Keyword. In short the EditForm should contain only Name, Preview and the columns that I have added. Is it possible to hide the other columns? I want to perform this out of the box.
Several possibilities.
You can use SharePoint Designer to manipulate the NewForm, EditForm and DisplayForm. Edit the existing form, use CSS to set the out of the box HTML form to hidden, then add a new custom form to the page and remove the columns you don't want to see.
If you don't want to use these columns at all, just delete them in the Library settings
If you don't want to delete the columns, click the parent content type in the Library settings, then edit each column and set it to "hidden"
Check this out: http://sarangasl.blogspot.in/2009/10/hide-column-in-edit-new-or-display-mode.html
I found this solution to be really simple and effective. Very well documented and descriptive.

JasperReports dynamic input controls

I'm currently trying to create a JasperReport report with some special input control behaviour. My needs are:
four input controls, two of them are dateboxes, the other ones are radio buttons
depending on radio button choice, one of the databoxes should be visible or not
so if option 1 is chosen, show both dateboxes; if option 2 is chosen, show only one datebox
I wonder if there's a "clean" solution - didn't find anything.
Any pointers will be helpful.
The Print when expression is not relevant for input controls on JasperReports Server.
There is no built-in support for hiding and showing an input control based on the value of a different one. The infrastructure for cascading input controls can certainly be extended to achieve this... but it would not be trivial.
The path I would take is to customize the .jsp page that displays the input control. There is a section in the JasperReports Server Ultimate Guide called "Customizing the Input Controls Form" which would get you started down this path.
For datebox part, you can use print when expression to decide whether certain blocks of the report is visible.
For other "input", if you meant some data you want to display inside the report, you can make some Parameter in your report, then set the Parameter from user input before you export the report.