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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

radzmar
Community profile radzmar Level 10
Job title here
Location here
45 BADGES
Level 10

Level 10

Learn more
Joined the community 06-01-2006 3:49:44 AM
Online
Top badges earned by radzmar
Customize the badges you want to showcase on your profile
Betreff: Detect field value change in adaptive forms
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe Experience Manager Forms
Hi, you can add event listeners to various events. As an example: This script in the initialize event of the guide root panel will cause, that every change in your form is reported into the console of the web browser. guideBridge.on("elementValueChanged" , function(event, payload) { console.log("The value of object '" + payload.target.name + "' has been changed from '" + payload.oldText + "' into '" + payload.newText + "'."); });

Views

34

Likes

2

Replies

2
Betreff: If, else and else if statements, need a little help.
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe Experience Manager Forms
Uhm, not sure I understood what you're trying to archive, but the script in adjustedRate exit event can be much easier: var a = this.rawValue, b = hourlyRate.rawValue; this.rawValue = a <= b ? b : a; hourlyRate.rawValue = b < a ? a : b;In general, you're using the resolveNode() method way too much, that's why the form is so slow. You don't need it if the references objects are all named and are relative cloade to the object which executes the script. In a table row for examle you can simply addr...

Views

80

Likes

3

Replies

1
Betreff: Pattern issue with PDF forms developed from Designer
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe Experience Manager Forms
Your patterns aren't correct for the decimal places.Use num{z,zzz,zzz,zz9.88888888} instead. The 8 stands for an optional decimal place which is not 0.1,132,235,234.25024 will be formatted as 1,132,235,234.25024 an 1,132,235,234.25000000 as 1,132,235,234.25. To display a fixed number of decimal places use 9 instead of 8. num{z,zzz,zzz,zz9.99999999} will show always 8 decimal places.num{z,zzz,zzz,zz9.99998888} will show at least 4 and up to 8 decimal places. To allow entering of numbers either wi...

Views

109

Likes

3

Replies

2
Betreff: Macro to change font colors (with exeption)
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe Experience Manager Forms
Create a text file with following content.var oNodes = designer.filterNodeTree(xfa.template, "value", "255,0,0"); for (var i = 0; i < oNodes.length; i += 1) { oNodes.item(i).value = "0,0,0"; }Save that file as .js file (i.e. my Macro.js). Create a new folder under the macro folder of you LiveCycle or AEM Forms Designer (i.e. C:\Program Files (x86)\Adobe\Adobe Experience Manager Forms Designer\EN\Macros\MyMacros) and paste you .js file there. Open your form in Designer an execute your new macro f...

Views

34

Like

1

Replies

0
Betreff: How to add numeric fields together
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe Experience Manager Forms
Remove the dash (-) fron the field name.

Views

144

Likes

2

Replies

0
Betreff: Designer uninstall issue
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe Experience Manager Forms
Please try this method.https://thelivecycle.blogspot.com/2016/09/diy-bugfix-5-error-1722-or-0x8002801c.html

Views

58

Like

1

Replies

0
Betreff: How to add numeric fields together
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe Experience Manager Forms
In FormCalc you can use the Sum() method i the calculate event of the total field. Just add the names of the fields to be summarised. Sum(anti-racism, quantumscience).

Views

150

Like

1

Replies

3
Betreff: addItems to Dropdown avoiding duplicates
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe Experience Manager Forms
This needs a combination of two loops. One to fetch the selected value and one to compare those already used. form1.MSF.SF_Notable.SF1.RB::enter - (JavaScript, client) var oRows = Table1.resolveNodes('Row2.[Cell1 ne " -Select-"]'), oNode, oItems, i, j, n, cValue; this.clearItems(); for (i = 0; i < oRows.length; i += 1) { oNode = oRows.item(i); oItems = this.items.resolveNodes('#text[*]'); n = 0; if (oNode.Cell1.rawValue === " Example Other Member" ) { cValue = oNode.Cell2.rawValue; } else { cVal...

Views

83

Like

1

Replies

2
Betreff: Needing help on script FormcCal or Java
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe Experience Manager
You can use conditional bindings with predicates so you won't need any scripting.Given your table row "rowItemsNode" now has a binding like $.tableData.rowData[*] you can use a predicate statement within the brackets to filter the data directly when it's merged with template to the form you get rendered on screen. $.tableData.rowData.[Left($.DocumentReferenceID, 3) eq "009"]

Views

84

Likes

2

Replies

0
Betreff: Javascript to determine Reader Extensions
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe Experience Manager Forms
In Acrobat you can read out the Reader Extension information via JavaScript as follows:this.appRightsValidate({}, 2, false)It returns an SigInfo object you can get many details from such as:this.appRightsValidate({}, 2, false).appRightsDocument; // FullSave this.appRightsValidate({}, 2, false).appRightsForm; // FillIn,SubmitStandalone,Add,Delete this.appRightsValidate({}, 2, false).appRightsSignature; // Modify To check if there are any Reader Extensions applied to a PDF:this.appRightsValidate({...

Views

71

Like

1

Replies

0
Betreff: Set the value of a repeatable Dropdown to another Dropdown which is also repeatable.
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe Experience Manager Forms
This requires just an if-else statement.var oRows = Table1.resolveNodes('Row2.[Cell1 ne " -Select-"]'); this.clearItems(); for (var i = 0; i < oRows.length; i += 1) { var oNode = oRows.item(i); if (oNode.Cell1.rawValue === " Example Other Member" ) { this.addItem(oNode.Cell2.rawValue); } else { this.addItem(oNode.Cell1.rawValue); } }

Views

109

Like

1

Replies

1
Betreff: Set the value of a repeatable Dropdown to another Dropdown which is also repeatable.
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe Experience Manager Forms
This is quite easy to realize. Add this JavaScript in the enter event of the RB dropdown. var oRows = Table1.resolveNodes('Row2.[Cell1 ne " -Select-"]'); this.clearItems(); for (var i = 0; i < oRows.length; i += 1) { this.addItem(oRows.item(i).Cell1.rawValue); }

Views

122

Like

1

Replies

1
Betreff: AEM Forms validate fields .
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe LiveCycle
You can do this with a script in the change event of a checkbox. SF2.presence = this.rawValue === 1 ? "visible" : "hidden";

Views

54

Like

1

Replies

0
Betreff: MessageBox after event prePrint – cancelEvent
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe Experience Manager Forms
Unfortunately you can't suppress that abort message.

Views

89

Likes

2

Replies

1
Betreff: My data source works in Preview PDF mode but not...
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe LiveCycle
When you open the form in Acrobat the data won't get imported automatically as in the PDF Preview. Use the Import Data function to load you XML file. You'll find it under the right hand tools pane or under [Edit] > [Form Options] > [Import Data].

Views

191

Likes

0

Replies

1
Betreff: Help with Arrays
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe LiveCycle
Well, your script doesn't work. It's not an array but an incomplete switch statement (see https://www.w3schools.com/js/js_switch.asp).What kind of field is olpDobSub and the one your executing the script on?

Views

171

Like

1

Replies

0
Betreff: Need phone number box to disappear after phone n...
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe LiveCycle
To restrict the characters a user can enter, use a script in the change event of the field. It will check the entere character against a regular expression. It it doesn't match, the character is deleted.if (!xfa.event.change.match(/\d/gi)) { xfa.event.change = ""; } In the exit event you then can use another script with an regular expression to validate the input and hide the field, if it's correct.if (!this.isNull) { // Check if value is of 10 digits if (this.rawValue.match(/^\d{10}$/g)) { this...

Views

272

Like

1

Replies

3
Betreff: Header at the end of row item issue
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe LiveCycle
This is propably caused by a design flaw of your formIf but I can't tell what, without seeing the form myself.

Views

175

Like

1

Replies

0
Betreff: Unable to save if a check box it is not checked
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe LiveCycle
You can't users prevent from saving a form.

Views

182

Likes

0

Replies

0
Betreff: How to create Rows dynamically from Code without...
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
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

193

Like

1

Replies

0
Betreff: A table row repeats when footer is set to be on...
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
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

278

Likes

0

Replies

1
Re: A table row repeats when footer is set to be on the f...
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
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

298

Likes

0

Replies

0
Re: How to page breaks after certain sub total
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
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

281

Likes

0

Replies

0
Re: Change colons to periods in date/time field
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe LiveCycle
What method or script do you currently use to fill the Save File As-field?

Views

176

Likes

0

Replies

0
Re: A table row repeats when footer is set to be on the f...
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
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

320

Likes

0

Replies

2
Betreff: Is there other replacements for LiveCycle Designer?
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
View profile
radzmar
- Adobe LiveCycle
The only comparable solution with dynamic features is HTML5 based web forms or a custom web app.

Views

190

Likes

0

Replies

0
Re: order form with automatically calculation
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
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

215

Likes

0

Replies

0
Betreff: Adobe Reader 8 download
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
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

218

Likes

0

Replies

0
Betreff: how to retrieve the same data from the columns (...
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
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

244

Likes

0

Replies

0
Betreff: order form with automatically calculation
Avatar
Affirm 500
Level 10
radzmar
Level 10

Likes

421 likes

Total Posts

2,700 posts

Correct reply

502 solutions
Top badges earned
Affirm 500
Contributor 2
Ignite 10
Ignite 5
Give Back 1000
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

266

Likes

0

Replies

1