since ‎06-08-2019
‎10-12-2019
matthewh7973307
Level 1
Script only applying to first occurrence
Avatar

matthewh7973307

matthewh7973307
- Adobe LiveCycle
Hi, I am attempting to dynamically change some colors on my form based on a condition with the following code:data::ready:layout - (JavaScript, server) if (xfa.resolveNode("data.#pageSet.DocumentHeader.TYPE").rawValue == "G2"){ xfa.resolveNode("data.BODY.ITEM_DETAIL.HEADER_DETAIL.Total.border.fill.color").value = "60, 60, 160"; xfa.resolveNode("data.#pageSet.DocumentHeader.DOC_TYPE").fontColor= "60,60,160" }However this only applies to the first occurrence of 'Document Header' and 'Body'. What i...

Views

1.7K

Likes

0

Replies

1
Hide repeating table row based on value?
Avatar

matthewh7973307

matthewh7973307
- Adobe LiveCycle
Hi, I'm having difficulty with a scripting problem. I would like to hide any table row 'DATA_COND' where VTEXT within that row is equal to "Price".This is the code I have created that does not work:for (var a=0;a

Views

3.7K

Like

1

Replies

4
Likes given to
Likes from