Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms
Viewing all articles
Browse latest Browse all 1160

Expanding tables and populating new rows dynamically from other areas of the form

$
0
0

I desperately need some help.

I have a 6 page form with a lot of data on it and I want the user to be able to:

1.  There are 36 statements with yes/no check boxes next to them - if they check a certain response the statement needs to drop down into another field in a second table for actions etc

2.  I have a risk matrix that I made the cells into buttons and had actions on them that if clicked they would populate another cell in the second table above with the risk rating and colour etc but I can only do with with

    and action and it only allows one cell/field to be nominated as the result (how do I get this to work in an expanding table with several rows)

I can supply the form as it is at the moment to show what I mean.

 

This is quite urgent and any help would be greatly appreciated

 

 

Thanks Jane

 

Hi again,

 

I have now got the check boxes working so that when checked they automatically add another row to the table but the 'text field' in that row that I want to imput the statement to is just called Risk in all the new added rows therefore

the new statement is overwriting the previous one and not going into the new row  that it just added.

Here is the code on the first two check boxes:

PubRequestForm.Main1.Section2Sub.NatureOfRiskTab.Row1.Statement1.no1::change - (JavaScript, client)

if (this.rawValue == "1") {

this.resolveNode("PageSix.Table7.Row1").instanceManager.addInstance();

this.rosolveNode("PageSix.Table7.Row1.Risk").rawValue = "statement 1 text here";

}

 

PubRequestForm.Main1.Section2Sub.NatureOfRiskTab.Row2.Statement1.yes2::change - (JavaScript, client)

if (this.rawValue == "1") {

this.resolveNode("PageSix.Table7.Row1").instanceManager.addInstance();

this.rosolveNode("PageSix.Table7.Row1.Risk").rawValue = "statement 2 text here";

}

 

Thanks in advance!!

 

Message was edited by: Jane Maddison


Viewing all articles
Browse latest Browse all 1160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>