since ‎06-01-2006
Online
radzmar
MVP
Betreff: I can't open a PDF file
Avatar

radzmar

MVP

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

201

Likes

0

Replies

0
Betreff: Extract data from dynamic PDFs
Avatar

radzmar

MVP

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

185

Likes

0

Replies

0
Betreff: Xfa.form.export xml into field
Avatar

radzmar

MVP

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

240

Likes

0

Replies

0
Betreff: Xfa.form.export xml into field
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
Just use the saveXML() method. Textfield.rawValue = xfa.data.saveXML("pretty");

Views

242

Likes

0

Replies

1
Betreff: Latest version of Forms Designer?
Avatar

radzmar

MVP

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

215

Likes

0

Replies

0
Betreff: How to debug in Adobe LiveCycle?
Avatar

radzmar

MVP

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

229

Like

1

Replies

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

radzmar

MVP

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

281

Likes

0

Replies

2
Betreff: Help Help Help!
Avatar

radzmar

MVP

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

191

Likes

0

Replies

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

radzmar

MVP

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

329

Likes

0

Replies

1
Betreff: Charts in aem designer(DOR)
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
Sorry, I don' understand this question. What are you trying to do with charts?

Views

200

Likes

0

Replies

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

radzmar

MVP

radzmar
- Adobe LiveCycle
Hi Louis, you can't create Rich Text formatted e-mails through the JavaScript API, just plain text is possible.

Views

188

Likes

0

Replies

0
Betreff: Issue rounding numbers in a textfield
Avatar

radzmar

MVP

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

225

Like

1

Replies

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

radzmar

MVP

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

327

Likes

0

Replies

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

radzmar

MVP

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

290

Likes

0

Replies

0
Betreff: Blank pages in Adobe form
Avatar

radzmar

MVP

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

241

Likes

0

Replies

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

radzmar

MVP

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

324

Likes

0

Replies

1
Betreff: Clear color code in 18 rows
Avatar

radzmar

MVP

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

220

Likes

0

Replies

0
Betreff: Edit schema usecase not working
Avatar

radzmar

MVP

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

225

Likes

0

Replies

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

radzmar

MVP

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

344

Likes

0

Replies

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

radzmar

MVP

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

238

Likes

0

Replies

0
Betreff: increment number for each table row
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
Add the following script to the index change event of Row1 colitem.rawValue = this.index + 1;

Views

206

Likes

0

Replies

0
Betreff: Hidden subform connected to dropdown object
Avatar

radzmar

MVP

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

267

Likes

0

Replies

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

radzmar

MVP

radzmar
- Adobe LiveCycle
Open the file in Acrobat and check the JavaScript console (Ctrl + J) for any errors.

Views

430

Likes

0

Replies

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

radzmar

MVP

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

441

Likes

0

Replies

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

radzmar

MVP

radzmar
- Adobe LiveCycle
Just make a screenshot of your forms hierarchy, so we can see where the fields are located.

Views

463

Likes

0

Replies

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

radzmar

MVP

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

485

Likes

0

Replies

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

radzmar

MVP

radzmar
- Adobe LiveCycle
Yes, you need to replace Textfield1 with the SOM expression of the field you want to display the age in your form.

Views

515

Likes

0

Replies

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

radzmar

MVP

radzmar
- Adobe LiveCycle
Here's what I would do.Put it to the exit event of your numeric field. function calculateAge(aDate) { var oDateOfBirth = new Date(aDate[0], aDate[1] - 1, aDate[2]), iDiff, oAge, oDate = new Date(); // get current date oDate.setHours(0, 0, 0); // reset hours, minutes and seconds oDate.setMilliseconds(0); // reset milliseconds iDiff = parseInt(oDate.valueOf(), 10) - oDateOfBirth.getTime() - 1, dAge = new Date(iDiff); return Math.abs(dAge.getUTCFullYear() - 1970); } var cValue = this.rawValue, aDat...

Views

524

Likes

0

Replies

12
Betreff: Using a List Box to Allow Multiple Selections to...
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
This is quite easy to accomplish.When you exit a lst field, it returns a list of strings that you can turn into an array which can be processed by a loop to get the results. var aSel = this.rawValue.split("\n"), // create an array from the selections in the list field // a reference array with a sub array containing the possible selection and the corresponding string going to be returned aStrings = [ ["2", "8 § 1324(a)(1)(A)(ii) Illegal transportation of an Alien"], ["3", "8 § 1326 Reentry of De...

Views

201

Likes

0

Replies

0
Betreff: Need a date field to be locked upon first signature
Avatar

radzmar

MVP

radzmar
- Adobe LiveCycle
You don't need a script. Just select the signature field and define a new collection under the Signature tab of the Object pallette. The collection defines those fields to be locked by the signaure.

Views

256

Likes

0

Replies

1