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
25 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: Unable to save if a check box it is not checked
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
You can't users prevent from saving a form.

Views

36

Likes

0

Replies

0
Betreff: How to create Rows dynamically from Code without...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Hi, you need to set the number of instances of the row depending on your input. var aBatchTable = prBatch.formattedValue.split("|"), oRows; // Set instances of rows Table1._Row1.setInstances(aBatchTable.length); // Resolve all rows into a node list oRows = Table1.resolveNodes('Row1[*]'); // update value in every row aBatchTable.forEach(function (element, index) { oRows.item(index).Cell3.rawValue = element; });

Views

37

Like

1

Replies

0
Betreff: A table row repeats when footer is set to be on...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Hi, I got your form, but I don't see the problem. Which one it the table your're talking about? What I see is that you heavily using the resolveNode() method, which makes you form really slow since your're always starting at the root node of you form using xfa.resolveNode("xfa.form …"). This is unneccessary because you can address nodes directly by using their SOM expression. For example look at the click event under form1.sfSpeakers.tblSpeakers.rAddSpeaker.btnAddSpeaker. Your current way is to ...

Views

56

Likes

0

Replies

1
Re: A table row repeats when footer is set to be on the f...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Use a service of your choice (Google Drive, Adobe document cloud etc.…) to make the form accessible online and share a link here.

Views

76

Likes

0

Replies

0
Re: How to page breaks after certain sub total
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
You don't need a conditional break for subform "Table" but its nested subform "Periods". Just add this FormCalc script to create a page break for each except the last instance.$.index lt Table._Periods.count - 1

Views

69

Likes

0

Replies

0
Re: Change colons to periods in date/time field
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
What method or script do you currently use to fill the Save File As-field?

Views

50

Likes

0

Replies

0
Re: A table row repeats when footer is set to be on the f...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
There are serveral possible reasons for your issue, so it's not easy to answer. Can you share your form, so we can look at it?

Views

98

Likes

0

Replies

2
Betreff: Is there other replacements for LiveCycle Designer?
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
The only comparable solution with dynamic features is HTML5 based web forms or a custom web app.

Views

63

Likes

0

Replies

0
Re: order form with automatically calculation
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
I would have to know the hierachy of your form to give a more suitable answer. Please provide some screenshots.

Views

114

Likes

0

Replies

0
Betreff: Adobe Reader 8 download
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
What you're seeing it the Shell-PDF of an dynamic PDF form (aka XFA form). This happens because you're using a PDF viewer, which doesn't support the dynamic contents of this particular PDF.You'll have to use Adobe Acrobat Reader/Acrobat 8 or newer. Safari or Apple Preview are not useful for this purpose.

Views

114

Likes

0

Replies

0
Betreff: how to retrieve the same data from the columns (...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Hi, you could reference the fields through a script.Assuming the row "Itemrow" in "table2" is repeating as often as the row "rowMain" of "tblMain", all you need is a bit FormCalc in the calculate event of the field "partcode" then: $ = bdymain.tblMain.rowMain[$.parent.parent.index].colProduct

Views

152

Likes

0

Replies

0
Betreff: order form with automatically calculation
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Hi, for date calculations you can use FormCalc, which is much easier than JavaScript. The surcharge can be calculated in this way for example: var nSurcharge = 0if (Date2Num(EventStartDateField.formattedValue, "DD/MM/YYYY") - Date() le 20) then nSurcharge = 20endif$ = nSurcharge To protect a form, you can either lock the uppermost element in your form or every single field.There are plenty of examples in this forum available about this.

Views

163

Likes

0

Replies

1
Betreff: Can't call ScriptObject function after xfa.host....
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
You can try antoher approach. This solution works different to the importData() method.https://thelivecycle.blogspot.com/2014/07/import-xml-via-script-into-adobe-reader.html

Views

122

Likes

0

Replies

0
Betreff: Can't call ScriptObject function after xfa.host....
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
No. The remerge clears all existing scriptings from the memory. So you can call a script after. Also, the importData() method doesn't return a value you could use to verify if it has been executed successfully or been aborted. The imported data is loaded into the form, so you can see it directly in the form fields.

Views

164

Likes

0

Replies

0
Betreff: The future of LiveCycle?
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Why they should remove it? I mean you still can create XFA forms with AEM Forms Designer which is still an active published product and there are so many XFA based files out there already. I think for closed environments (within companies) XFA forms still have many benefits you can use for many years.

Views

160

Likes

0

Replies

0
Betreff: Horizontal flowing text fields( text labels)
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
There's a solution to make it possible to edit floating fields in a static text. You can use it since the static text would automatically fit to the length of the floating fields.https://blogs.adobe.com/formfeed/2010/09/editable-floating-fields-v3.html

Views

115

Like

1

Replies

0
Betreff: Can't call ScriptObject function after xfa.host....
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
It's because the import executes a remerge of the imported data with the template into a new form. It's like a start over.

Views

191

Like

1

Replies

3
Betreff: Management footer
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Okay, it's a bit more complicated, but still doable.Here's my solution, that works. So the spacer (the red thing) is rezising so the footer is always pushed to the bottom of the last page. Here the full script: // Calculate the height of the spacer subform // Put this into its layout ready event var oSpacer = this.Spacer, // reference to spacer object nPage = xfa.layout.absPage(oSpacer), // page number, where spacer is currently present. This is the target page. nSpanPage, // Page number where s...

Views

112

Likes

0

Replies

0
Betreff: Management footer
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Everything happens on a body page flowed top-to-bottom and allowing page breaks. Don't put the header, content or footer subforms on the master page. The master page only contains the content area, which defines the area where the subforms on a body page can reside.

Views

139

Likes

0

Replies

0
Betreff: Change the font from capital to lowercase when f...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
I think you'll need to use two different floating fields. One for the capitalized strings and one for the lowercase string. In the latter, you add a script to copy the value from the dropdown list and convert it to lowercase.this.rawValue = DropdownList.rawValue.toLowerCase();

Views

138

Likes

0

Replies

1
Betreff: Table with subform: manage the font (size, color...
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Hi, this is posibble. All you need is a scritpt in the layout ready event of the row. Given the cells are named LAST_NAME, FIRST_NAME and CHANGE_STYLE it could look this way: var bStyle = this.CHANGE_STYLE.rawValue === "x" ? true : false; this.LAST_NAME.font.weight = bStyle ? "bold" : "normal"; this.LAST_NAME.font.underline = bStyle ? "1" : "0"; this.FIRST_NAME.font.fill.color.value = bStyle ? "51,102,255" : "0,0,0"; this.FIRST_NAME.font.posture = bStyle ? "italic" : "normal"; this.FIRST_NAME.fo...

Views

155

Like

1

Replies

1
Betreff: AEM Forms validate fields .
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
By AEM do you mean AEM Forms Designer or AEM Forms running at a server? 

Views

163

Likes

0

Replies

1
Betreff: Management footer
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
The footer has to be placed always at the bottom I guess? In that case I would do it the following way.Two masterpages, one for the green/blue content pages one for the orange services pages.The content page is floating to to bottom and allows page breaks. Here you add an individual subform for the header, contents and footer. Header and footer subform are static the content subform is floating and allows page breaks. In the content subform you add all the other contents you need and at very las...

Views

171

Likes

0

Replies

3
Betreff: Page break: don't cut a subform
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
If you deselect the option to allow page breaks for the particular subform it won't break but will jump to the following page it there's not enough space left on the current page.

Views

132

Likes

0

Replies

1
Betreff: match a field to a list of values
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
Hi, the best way it to check the input against an array of value.var aList = ['Y78DC','4568','PEN_V7','PNX_45','DC567'], cInput = txtSupplierID.rawVaue, bMatch = aList.some(function (cValue) {return cValue == cInput;}); this.presence = bMatch ? "visible" : "hidden";

Views

128

Likes

0

Replies

0
Betreff: Calculate subtotals according to date difference
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
- Adobe LiveCycle
In FormCalc this is quite easy. The calculation script for the total price could look this way:var factor = 1 if (not datefield2.isNull and not datefield1.isNull) then if (Date2Num(datefield2.formattedValue, "MM/DD/YYYY") - Date2Num(datefield1.formattedValue, "MM/DD/YYYY") lt 21) then factor = 1.2 endif endif var totalPrice = quantity * price * factor $ = totalPrice

Views

152

Likes

0

Replies

1
Betreff: Create CSV file
Avatar
Coach
MVP
radzmar
MVP

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 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

118

Likes

0

Replies

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

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 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

154

Likes

0

Replies

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

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 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

137

Likes

0

Replies

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

Likes

394 likes

Total Posts

2,682 posts

Correct Reply

489 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

166

Likes

0

Replies

0