since ‎12-04-2012
‎10-12-2019
loather
Level 1
Re: Code128 software barcode properties
Avatar

loather

loather
- Adobe LiveCycle
1] I had read about "moduleWidth" and "moduleHeight" but only in context of 2D barcodes.But it works fine on 1D barcodes also:Go to XML Source and add the "moduleWidth" attribute to the element, eg: ......This then allows me to make a barcode field as wide as the page and the module width overrides any other calculation which is done, keeping consistent density for however many characters are passed for barcoding.

Views

968

Likes

0

Replies

0
Re: Livecycle over/underflow error
Avatar

loather

loather
- Adobe LiveCycle
I will guess your script is in the "calculate" event of a 3rd field.You can add a bit more in the script to try to help you understand the error.For information: Overflow means it calculated a value too large to handle and underflow means it calculated a value too small to handle. Either case suggests something is wrong because I guess you have "every day" kind of values in the hundreds/thousands/millions kind of range.Try the following [I slightly extended your 'if' so it requires a value in Nu...

Views

829

Likes

0

Replies

0
Code128 software barcode properties
Avatar

loather

loather
- Adobe LiveCycle
We use code128 symbology considerably and the options for this in Livecycle seem a bit strange.There is this property 'Data length' which appears to adjust the density of the barcode but in an 'inverse manner':Usually one specifies a 'module width' - which is the width of the thinnest constituent of the different bar patterns that make up each encoded symbol.Larger module width means less dense [wider] barcodes.But here, the larger the value of 'Data length', the denser the barcode is rendered.H...

Views

1.4K

Likes

0

Replies

1
Re: Table with multiple body rows (table section), how to bind data?
Avatar

loather

loather
- Adobe LiveCycle
Thanks for this,I was just reading in a "best practices" document about Livecycle which happens to give an example of a multiline table and the first thing it says to do is use nested subforms to emulate a table.So whether subform sets are used or not, it seems that the main point is "don't try to do this with a table object".

Views

4.8K

Likes

0

Replies

0
Re: Align fields side by side
Avatar

loather

loather
- Adobe LiveCycle
Magus069 probably has the correct answer, but provided you are not adding in a flowed subform it should just be a case of enabling "snap to object" in the drawing aids, then drag+drop.You do seem to need to zoom in or out a bit if the design is "busy", to make sure it is snapping correctly.

Views

1.1K

Likes

0

Replies

0
Re: Table with multiple body rows (table section), how to bind data?
Avatar

loather

loather
- Adobe LiveCycle
Today I found myself with this problem in another area.I went with a different workaround that requires no scripting:1] do not create any table section and just stick with 1 body line in the table2] wrap each cell object of the table line in a subform [so the subforms become the actual cell objects]3] make the subforms 'positioned' and make them the height of 2 rows4] place 2 text-fields or whatever above each other in the subforms and bind them to the correct elements of the data table row5] if...

Views

4.8K

Likes

0

Replies

2
Re: Table with multiple body rows (table section), how to bind data?
Avatar

loather

loather
- Adobe LiveCycle
It feels so dirty but for now I've gone with a kluge:In body-line 1 I took 1 of the existing text fields & wrapped it in a subform. I then added another text field in the subform, bound it to the data element I need & made its presence hidden.In body-line 2, I have a text field and used the Initialize event to set the value from the hidden text field of body-line 1.Works but there must be a "proper" way I've yet to figure out...The trouble with all this stuff ["business development"] is that the...

Views

4.8K

Like

1

Replies

3
Table with multiple body rows (table section), how to bind data?
Avatar

loather

loather
- Adobe LiveCycle
My general understanding of data binding is "vague" at best but currently I am struggling with a table that should have multiple body-lines.As best I understand it, the binding for the table of data is made against the body row, NOT the table.This then causes the rows to repeat for each row in my XML source data.However, I have a large number of columns in my table and it requires multiple body-lines for each row of the data table.I've created a 2nd body-line and wrapped both body-lines in a tab...

Views

5.3K

Like

1

Replies

4
Re: get row values from second table of data
Avatar

loather

loather
- Adobe LiveCycle
... and that is exactly how not to post code... Why did it insert blank lines? Grrrr.

Views

980

Likes

0

Replies

0
Re: get row values from second table of data
Avatar

loather

loather
- Adobe LiveCycle
Thanks for your answer, unfortunately I cannot link directly by row index, since there may not be an entry in Row1 for the value in Row2.However, I read through this thread this morning [made more sense than when I saw it on Friday]:Reading Data from a Table using loopand I finally have something working, a bit like thisvar rowCount = Table1._Row1.count;var i = 0;//this.text = "hidden";this.field = "";//for (i = 0; i < rowCount; i++) {if (xfa.resolveNode("Table1.Row1[" + i + "].Reference_Line")....

Views

998

Likes

0

Replies

0
get row values from second table of data
Avatar

loather

loather
- Adobe LiveCycle
I am working on an invoice form. This comes from a table of data in XML that holds the main details.On my form is a table bound to this table, showing columns such as "Line Number", "Item", "Description", "Quantity", "Price", "Total" etc.On each line, I need to add a delivery number.Here's the challenge: In the XML, the delivery number is in a totally separate table, which has a reference to the line number of the main details.How can I get this delivery number from the totally separate table?Wh...

Views

2.0K

Likes

0

Replies

3
Size / position of objects with integer millimetres
Avatar

loather

loather
- Adobe LiveCycle
I'm new to LCD and I am trying to design forms with unit of measure millimetres.Something I find is that I just cannot seem to get positions or sizes to be where I entered them.eg if I put the AnchorX as '7mm' it immediately changes to '7.0012mm' or '7.0002mm' or similar and will NOT stay as the integer I entered.Although this is unnoticeable on the output, I find it just ... really disturbing.What is going on here? I've searched & didn't find any background explanation. I am guessing that it is...

Views

889

Likes

0

Replies

1
Re: Can I reference data values of XML directly in a script or must I use a field on my form?
Avatar

loather

loather
- Adobe LiveCycle
Thanks so much!prePrint event was not working, for whatever reason.initialize event is working.relevant = "-print" doesn't seem to do anything but I understand this was a "relatively late" addition to PDF, perhaps the forms-renderer I have does not support it [that is somewhat out of my control].So in summary: presence = "hidden" in the initialize event.

Views

1.3K

Likes

0

Replies

0
Re: Can I reference data values of XML directly in a script or must I use a field on my form?
Avatar

loather

loather
- Adobe LiveCycle
I've come to the conclusion that I cannot reference the XML values directly in script, so I created a hidden field which is bound to the XML element I am interested in.But I don't seem to be able to get any kind of hiding working.Currently I have the Text object and its floating fields wrapped in a subform, since there don't appear to be any events for a Text object.I have tried writing in the subform's prePrint eventthis.presence = "hidden";=> it still printsthis.relevant = "-print";=> it still...

Views

1.1K

Likes

0

Replies

0
Can I reference data values of XML directly in a script or must I use a field on my form?
Avatar

loather

loather
- Adobe LiveCycle
Hello, please bear with me this is my first post, sorry if I missed any forum rules or guidelines.I have been working on a form which has a Text object that combines [concatenates] the values of 3 floating text fields.That's all working OK but I should only print this combined value if "some other node" in the XML is null.I was thinking to place a short script in the 'prePrint' of the first floating field [because Text objects seem to have no events] which will check if this other XML node is nu...

Views

2.6K

Likes

0

Replies

3
Likes given to
Likes from