since ‎15-06-2012
‎10-12-2019
BernieBour
Level 1
Re: Hide/Unhide Rows in Dynamic Table in LiveCycle BernieBour - Adobe LiveCycle
I found the code at True Tech Troubleshooting (a wonderful resource): Basic JavaScript Looping in Adobe LiveCycle Designer®
300
Views
0
Likes
0
Answers
Re: Change Font Color for Row based on Dropdown in LiveCycle BernieBour - Adobe LiveCycle
I put the following code in the other cells on the Enter event and it worked:if (DropDownList1.rawValue == "Completed"){this.font.fill.color.value = "255,0,0";} else if (DropDownList1.rawValue == "Modified"){this.font.fill.color.value = "0,0,255";} else if (DropDownList1.rawValue == "New"){this.font.fill.color.value = "0,128,0";} else {this.font.fill.color.value = "0,0,0";}
62
Views
0
Likes
0
Answers
Change Font Color for Row based on Dropdown in LiveCycle BernieBour - Adobe LiveCycle
I want to change the font color in a dynamic table based on a dropdown. The code I have only works for the cell. I would like the font for the entire row to change.DropDownList1 - Change event:if (xfa.event.newText == "Completed"){this.font.fill.color.value = "255,0,0";} else if (xfa.event.newText == "Modified"){this.font.fill.color.value = "0,0,255";} else if (xfa.event.newText == "New"){this.font.fill.color.value = "0,128,0";} else {this.font.fill.color.value = "0,0,0";}Thanks for your help!
226
Views
0
Likes
1
Answers and Comments
Re: Hide/Unhide Rows in Dynamic Table in LiveCycle BernieBour - Adobe LiveCycle
Thanks again for your help. It now works.Code for Hide All button:var vRows = TableA._Row1.count-1;for (var i=vRows;i>=0;i--) {if (TableA.resolveNode("Row1[" + i + "]").CheckBox1.rawValue!==0) { (TableA.resolveNode("Row1[" + i + "]").presence="hidden"); } }Code for Show All button:var vRows = TableA._Row1.count-1;for (var i=vRows;i>=0;i--) {if (TableA.resolveNode("Row1[" + i + "]").CheckBox1.rawValue!==0) { (TableA.resolveNode("Row1[" + i + "]").presence="visible"); } }
299
Views
0
Likes
0
Answers
Re: Hide/Unhide Rows in Dynamic Table in LiveCycle BernieBour - Adobe LiveCycle
Thank you! This is very helpful. However, I don't know how many rows there will be. There may be 20-50 rows.
299
Views
0
Likes
0
Answers
Hide/Unhide Rows in Dynamic Table in LiveCycle BernieBour - Adobe LiveCycle
I have an expanding table. I have an Add Row button below the table and a Checkbox at the end of each row that will hide that row. I need a button that will Show All Hidden Rows and another button to Hide All Hidden Rows. This is working only on the first row of the table and not on any additional rows that have been added. Any help is greatly appreciated.How do I attach a sample file on this forum?This is the code I used to Hide Row Checkbox (on the Click event placed at the end of each row):if...
1388
Views
0
Likes
7
Answers and Comments
Re: Align bullets at left margin in Livecycle BernieBour - Adobe LiveCycle
Awesome!  This works.  Thanks so much!
58
Views
0
Likes
0
Answers
Align bullets at left margin in Livecycle BernieBour - Adobe LiveCycle
There is no option in the paragraph box to decrease the indent only to increase. I want the bullets to align at the left margin and not indented.Please help! Thank you!
617
Views
0
Likes
2
Answers and Comments