What you need to do is combine all of your data using a collection routine and then a pre-print routine that will spread the data across a dynamic number of barcodes for you. Tai Kedzierski actually has a great post on this topic on the cookbooks here: http://cookbooks.adobe.com/post_How_to_vary_the_number_of_barcodes_according_to_th-16499.h tml.
Thank you so much for your help!! I will check this out and let you know.
I have checked the barcode pdf file. In this example you have a single data field, and in my situation, there is a table & rows have defined for muliple rows entry. For example, In the figure below, I have 3 rows with 4 columns. How can I handle this? Please help to resolve the issue. Thank you.
| | | |
| | | |
| | | |
What you basically need to do is move all of the xfa data into a single field (textarea, or just an internal node) and then do your barcode calculations on that single field. I'll see if I can't dig up another sample.
You need firstly to use a Paper Forms Barcode (PFB hereon). No other will do.
Secondly, you will probably want to have each PFB under the same parent node as the fields it is coding for
So that thirdly, you can access the row instance and its children and use the rawValues to populate the PFB in the calculate script event.
Note that PFB will come with custom scripting in the calculate event. Delete that script, and simply use this.rawValue = field1.rawValue + field2.rawValue + ... etc
Note that only the PFB can be updated whilst the PDF is open. Any other barcode needs to have its content set at design time, and will always be Read-Only or Protected.
Any specific example, please let us know.
Thank you so much for your solution.
The Adobe LiveCycle is totally new to me, and I was given an opportunity to modify one of oue existing form. I would really appreciate if you could provide a sample, or if you have steps/detail to implement this.
Thanks in advance!
Consider the following scenario:
if you have defined a table and made a Cell in the table contain a TextField and it repeats, the SOM expression would look this
form1.Table1.Row1.TextField1 (Cell1 of Row1) as an example.
This instance of TextField can be captured in the barcode Collection via the collection UI, but there is no way through the UI to get form1.Table1.Row1.TextField (second instance) included in the barcode data.
I would check this blog entry out if you are interested in capturing values for repeating objects in a barcode, such as you might find in a dynamic table of a dynamic form: