-
Notifications
You must be signed in to change notification settings - Fork 41
Description
It occurs in this form: https://www.irs.gov/pub/irs-prior/f8621--2016.pdf
In Line 4 there is a set of 4 checkboxes. I can connect an xlsx column to the first box (topmostSubform[0].Page1[0].c1_3[0]). It accepts values 0 and 1. That's fine. But when I connect an xlsx column to any of the other three checkboxes in the row (e.g., topmostSubform[0].Page1[0].c1_3[1], I get the following error:
One or more PDF files with the selected name already exists and is use by another application. Please close the other application and restart the creation process.
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei BulkPDF.PDF.SaveFilledPDF(String filePath, Boolean finalize)
bei BulkPDF.PDFFiller.CreateFiles(PDF pdf, Boolean finalize, IDataSource dataSource, Dictionary`2 pdfFields, String outputDir, DelGetFilename GetFilename, DelSetPercent setPercent, DelIsAborted isAborted)
bei BulkPDF.MainForm.backGroundWorker_DoWork(Object sender, DoWorkEventArgs e)
I don't think it has anything to do with PDF files in use by another application. I tried different file names and the error is always the same.
I tried to use PDFescape (free version) and other tools to find out any details about the respective checkboxes in the form but I could not see how to get at that information. Maybe BulkPDF could be enhanced to display the possible values for a checkbox (if that is the issue here).
I don't want to conclude without saying what a great tool BulkPDF is! Thank you!
P.S. Here are the field definitions (as output by pdftk):
FieldType: Button
FieldName: topmostSubform[0].Page1[0].c1_3[0]
FieldFlags: 0
FieldValue: Off
FieldJustification: Left
FieldStateOption: 1
FieldStateOption: Off
FieldType: Button
FieldName: topmostSubform[0].Page1[0].c1_3[1]
FieldFlags: 0
FieldValue: 2
FieldJustification: Left
FieldStateOption: 2
FieldStateOption: Off
FieldType: Button
FieldName: topmostSubform[0].Page1[0].c1_3[2]
FieldFlags: 0
FieldValue: Off
FieldJustification: Left
FieldStateOption: 3
FieldStateOption: Off
FieldType: Button
FieldName: topmostSubform[0].Page1[0].c1_3[3]
FieldFlags: 0
FieldValue: Off
FieldJustification: Left
FieldStateOption: 4
FieldStateOption: Off
[The second field was checked manually]
Another question: is it possible to enter some static text into a field with the BulkPDF GUI?