Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

radzmar
Community profile radzmar MVP
Job title here
Location here
31 BADGES
MVP

MVP

Learn more
Joined the community 06-01-2006 3:49:44 AM
Offline
Top badges earned by radzmar
Customize the badges you want to showcase on your profile
Betreff: Create CSV file
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
As long the form will be used with Acrobat Standard or Pro and not Reader you can use JavaScript to create attachments by the creatDateObject(). Text files are supported, so you can create such file with a csv-extension and fill it with data from your form. This csv-file then can be opened then the attachment pane.

Views

123

Likes

0

Replies

0
Betreff: formcalc calculation with percentage
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Is the second row also named Row1? If not, the script won't work there, since Row1[*] resolves all instances of an element named Row1. In what field do you place the calcuation script?

Views

157

Likes

0

Replies

2
Betreff: formcalc calculation with percentage
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
The line $.rawValue = (Row1[*].Cell9)*100 makes no sense, what are the brackes for?If a refered field is in the same row, you don't need to reference the row. $ = Cell9 * 100 To reference all instances of the field in every row use the sum() method $ = Sum(Row1[*].Cell9) * 100 To calculate a subtotals use variables. var SubTotal1 = Sum(Row1[*].Cell9) * 100var SubTotal2 = Sum(Row1[*].Cell7) * 100$ = SubTotal1 * SubTotal2

Views

141

Likes

0

Replies

0
Betreff: Adobe Acrobat Javascript compatibility
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
There's an overview which functions from Acrobat JavaScript API you can use. You'll find it in the scripting basics reference: https://helpx.adobe.com/pdf/aem-forms/6-2/scripting-basics.pdfGenerally you can use any JavaScript function defined by ECMA-262 5th edition, not just the those definded by Acrobat DC JavaScript API: https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/AcrobatDC_js_api_reference.pdf For arrays just use: var aValues = []; // Create an empty array aValues.push("A n...

Views

170

Likes

0

Replies

0
Betreff: I can't open a PDF file
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
I guess you're seeing the "Please wait…" message when you open a dynamic form?!This happens if you try to open those kinds of forms with an incompatible PDF-viewer, which doesn't support XFA technology. Only the desktop version of Adobe Acrobat / Reader fully supporting XFA.In rare cases the PDF might be damaged but as long you can open it with LiveCycle Designer its fine and the problem is the PDF viewer.

Views

215

Likes

0

Replies

0
Betreff: Extract data from dynamic PDFs
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Designer is just the application to create the forms, nothing more. The data can be extracted as XML file later through the PDF viewer such as Adobe Acrobat, by using scripting methods like xfa.host.exportDate() or submitForm(). Those methods can either be executed from buttons within the form or by console or menu events in the PDF viewer.

Views

196

Likes

0

Replies

0
Betreff: Xfa.form.export xml into field
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
You can store your XSLT stylesheet within the XML source and use it to transform the xml data with the applyXSL() method before writing it into the text field.

Views

257

Likes

0

Replies

0
Betreff: Xfa.form.export xml into field
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Just use the saveXML() method. Textfield.rawValue = xfa.data.saveXML("pretty");

Views

253

Likes

0

Replies

1
Betreff: Latest version of Forms Designer?
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
The latest version should be 6.5.x. I don't know it'S differences to 6.2.x, but it might only contain some bugfixes and minor improvements.

Views

231

Likes

0

Replies

0
Betreff: How to debug in Adobe LiveCycle?
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
With Reader you'll have to force the JavaScript console to open with console.show().This might not work in the PDF preview, since this tab uses the browser plugin of reader. You better open your PDF separately.

Views

247

Like

1

Replies

1
Betreff: Need help to make table to span multiple pages
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
You download link points to a very suspicious download service which offers a lot of things to download or install but not you form Please use a serious service to share your form.

Views

294

Likes

0

Replies

2
Betreff: Help Help Help!
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
If both images represent areas of the same form, it souldn't be such a problem to add references to specific fields. For a better answer I would have to see the form.In XFA forms your're using SOM expression to reference form objects, which are explained here: http://assuredynamics.com/index.php/2011/05/som-expressions/

Views

203

Likes

0

Replies

0
Betreff: .rawValue format when using e-mail button (JavaScript help)
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
The rawValue is already fine. The spaces and linebreaks shouldn't be removed. If they are removed anyway then because of something else, that's going on in the form. Can you share it?

Views

344

Likes

0

Replies

1
Betreff: Charts in aem designer(DOR)
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Sorry, I don' understand this question. What are you trying to do with charts?

Views

213

Likes

0

Replies

0
Betreff: Help to create a Button that creates an HTML or...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Hi Louis, you can't create Rich Text formatted e-mails through the JavaScript API, just plain text is possible.

Views

201

Likes

0

Replies

0
Betreff: Issue rounding numbers in a textfield
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
You're facing a typical rounding issue of the IEEE 754 standard. You can bypass this by converting the dicimals into integers before rounding. Keep in mind: The display pattern plays an important role when you're going to display percentage values. So with the pattern num{zz9.9999%} the input have to be a value between 1 (= 100 %) and 0 (= 0 %). So a value of 0.0046875 = 0.4687 %With a pattern num{zz9.9999 '%'} where the percentage symbol is quoted, the values are displayed this way. 0.0046875 =...

Views

238

Like

1

Replies

0
Betreff: text options (bold, italics) in forms
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Set the fields to allow RichTexts and select a font, that supports italic and bold styles, since not every font does it!The users can open the form field properties dialog in Adobe Acrobat/Reader by pressing [Ctrl]+[E] to select a different style, size or color.

Views

357

Likes

0

Replies

0
Betreff: I need help going forward with livecycle PDF for...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
There's no way to "convert" XFA forms to make them compatible with 3rd party PDF viewer that do not support XFA, I'm afraid.You can print them with a PDF printer to get static PDFs. This will keep the most the layout, but all scriptings then will have to be rethinked of added again with Adobe Acrobat.

Views

305

Likes

0

Replies

0
Betreff: Blank pages in Adobe form
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Blank pages are of the result of a bad pagination setting in the form. But it's not possible to answer this seriously for your form, without seeing the affected form and the data.

Views

254

Likes

0

Replies

0
Betreff: I'm stuck in a javascript code, which gives me w...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
The parseInt() method has a second parameter called radix. Its used the define the number base, for decimals its 10.You should use it to avoid that the input is converted into a wrong number by assuming the wrong base.parseInt(temp1, 10);

Views

339

Likes

0

Replies

1
Betreff: Clear color code in 18 rows
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
There's a script for almost everything, it's only has to be developed 😉For your task, it might be a simple loop. var oRows = Table.resolveNodes("Row[*]"), i; for (i = 0; i < oRows.length; i += 1) { oRows.item(i).SIgnal.border.fill.color.value = "255,255,255"; }

Views

231

Likes

0

Replies

0
Betreff: Edit schema usecase not working
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
This forum isn't about Adobe Campaign, so you won't get help here, I'm afraid. The correct forum for you is here: https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic/ct-p/adobe-campaign-classic-community

Views

234

Likes

0

Replies

0
Betreff: Show a hidden object on the master page
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Why do you place that text field onto a master page and not on a body page? A master page is intended for static layout things in the background (logos, header, footer etc.) of the forms pages. Every new page has it's own instance of that master page, so to keep interactive objects syncron in the entire form requires to update every instance then. This can be become complicated depending on your design and the existings scriptings. So it's not recommended to do so which brings me back to my init...

Views

356

Likes

0

Replies

0
Betreff: table is missing a row. how do I add it?
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
In the design view you can add or remove row and colums by clicking the small white triangle icon at the edge. It opens a context menu with various options.

Views

249

Likes

0

Replies

0
Betreff: increment number for each table row
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Add the following script to the index change event of Row1 colitem.rawValue = this.index + 1;

Views

220

Likes

0

Replies

0
Betreff: Hidden subform connected to dropdown object
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Hi, you can do this with much less code. Also, the messageBox methods returns 4 when pressing the Yes-button. var cSel = xfa.event.change, // current selection cPrevSel = xfa.event.prevText; // previous selection if (cSel === "Yes") { Additional00.presence = "visible"; // show subform } else if (cSel === "No" && cPrevSel !== "No") { if (xfa.host.messageBox("If you entered anything in the Supplier Description, SupplierReason or SupplierSubstantiation text fields it will be deleted. \n\nDo you wan...

Views

281

Likes

0

Replies

1
Betreff: Script to calculate age from first 6 digits of a...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Open the file in Acrobat and check the JavaScript console (Ctrl + J) for any errors.

Views

452

Likes

0

Replies

0
Betreff: Script to calculate age from first 6 digits of a...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
AgeCalculated.rawValue = nAge; should already work, since both fields are in the same sub tree of the hierachy- Make sure that the numeric field is not updated by any other calculation script.

Views

463

Likes

0

Replies

0
Betreff: Script to calculate age from first 6 digits of a...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Just make a screenshot of your forms hierarchy, so we can see where the fields are located.

Views

485

Likes

0

Replies

0
Betreff: Script to calculate age from first 6 digits of a...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,686 posts

Correct Reply

490 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Make sure you set the language in the script editor to JavaScript, not FormCalc. If the output field is a text field it should work. However, I can't say if you SOM expression is correct. I would have to see at least the forms hierachy to check this.

Views

507

Likes

0

Replies

0