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
radzmar
Online

Badges

Badges
45

Accepted Solutions

Accepted Solutions
517

Likes Received

Likes Received
481

Posts & Comments

Posts & Comments
2748

Discussions

Discussions
0

Questions

Questions
0

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by radzmar
Customize the badges you want to showcase on your profile
Betreff: Adobe LiveCycle - Javascript - Initialize event is looping when I try to update a variable - Adobe Experience Manager Forms 13-08-2022
I would split the string and then use a loop to create a new one. var aInput = addresstest.rawValue.split(/\s*\/\s*/g), cOutput = ""; if (aInput.length > 0) { // process all items in the array except the last one. for (var i = 0; i < aInput.length - 1; i += 1) { // add a line break in front of every item except the first. cOutput += (i > 0 ? "\n" : "") + aInput[i]; } } addresstest.rawValue = cOutput + "\n" + masterHeader.masterHeaderLeft.country.rawValue;

Views

52

Like

1

Replies

1
Betreff: Need assistance to my previous question - Adobe Experience Manager Forms 20-06-2022
I guess this script work as you want. However I didn't fully test it. if (_Row1.count > 1) { var nRows = _Row1.count, nIndex = this.parent.index, // Get index of current table row, outgoing from the button. The SOMexpression might be different in your form! This one works for a button put directly into a cell of Row1. cInput = xfa.host.response("How many of the current " + nRows + " do you want to remove?", "Remove rows", "1", false), n = parseInt(cInput, 10) > nRows ? nRows - 1 : parseInt(cInpu...

Views

147

Likes

0

Replies

2
Betreff: Need assistance to my previous question - Adobe Experience Manager Forms 10-06-2022
Hi, this should do the trick: if (_Row1.count > 1) { var nRows = _Row1.count, cInput = xfa.host.response("How many of the current " + nRows + " do you want to remove?", "Remove rows", "1", false), n = parseInt(cInput, 10) > nRows ? nRows - 1 : parseInt(cInput, 10), i = 0; while (n > 0) { _Row1.removeInstance(_Row1.count -1); n -= 1; } }

Views

204

Like

1

Replies

5
Betreff: Checkbox resets to its default value when instance is added / removed from dynamic table - Adobe Experience Manager Forms 09-06-2022
Every object which needs to be remembered has to use a data binding. You checkbox hasn't and so everytime you force the to recalculate it will be reset. For objects on a masterpage use global binding if you don't bind to a scheme (XSD). Btw. the xfa.form.recalculate(1); isn't needed since Acrobat 8 or so.

Views

89

Likes

2

Replies

1
Betreff: Dynamically increase the table row - Adobe Experience Manager Forms 27-05-2022
The line xfa.resolveNodes("xfa.datasets.data.root.parentNode[*]").length; is nonsense, as it simply resolves xfa.datasets.data which is always a single node. What exactly are your trying to do with you table?

Views

95

Like

1

Replies

0
Betreff: [LiveCycle Designer] - space between lines in a form - Adobe Experience Manager Forms 23-05-2022
Sorry, this doesn't help me to reproducing your problem. I need to look at the file itself, not just a screenshot.

Views

139

Like

1

Replies

1
Betreff: [LiveCycle Designer] - space between lines in a form - Adobe Experience Manager Forms 22-05-2022
I cannot reproduce this issue at my end. Can you share a form which shows it?

Views

160

Like

1

Replies

3
Betreff: [LiveCycle Designer] - space between lines in a form - Adobe Experience Manager Forms 20-05-2022
There are several things that can impacte the line spacing but not the Allow Multiple Lines. Check the paragraph palette.

Views

175

Like

1

Replies

5
Re: Need a script to add to an "add" row button and also keep information entered in some of the columns - Adobe Experience Manager Forms 16-05-2022
To copy data, use a for loop.Given you have the following structure: Table1.Row1.Date and the Add button is located in the Row1 as well then this script will copy the date fields data to all following rows starting from the current one and where the date field is empty.if (!Date.isNull) { var oRows = Table1.resolveNodes('Row1[*]'), j = this.parent.index, cDate = Date.rawValue; for (j; j < oRows.length; j += 1) { if (oRows.item(j).Date.isNull) { oRows.item(j).Date.rawValue = cDate; } } }

Views

144

Like

1

Replies

1
Re: Need a script to add to an "add" row button and also keep information entered in some of the columns - Adobe Experience Manager Forms 16-05-2022
Use the response method to ask the user, how many rows to add.var cInput = xfa.host.response("Enter number of rows you want to add:", "Add rows", "1", false), n = parseInt(cInput, 10) > 0 ? parseInt(cInput, 10) : 1, i = 0; for (i; i < n; i += 1) { _Row1.addInstance(true); }

Views

145

Likes

2

Replies

1