Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Table rows functionality with passing data and instances

$
0
0

My form setup is as follows:

I have several check boxes overlaid on an image. Each box will have several actions associated to it (more on this in a minute).

I have a Table that will take in some data, depending on what check boxes are checked and unchecked.

Several things are happening as follows:

 

A table is setup with the following headers and respective rows - vial#(txt), location(txt), area(txt), amount(dropdown), price(dropdown), cost(calculated - eval(amount * price)).

 

When a check box is selected the following actions ensue:

location and area are filled with text values [ Condition: when box FR0 is checked;  Result: set value of location to be some text, value of amount to be some text, set vocus on amount ]

 

When a check box is unselected the following actions ensue:

all fields are set to null.

 

NOTE: this actions work great with the first checkbox.

 

Now the issue at hand:

When the next checkbox is selected, what should happen is this: a new instance of the rows should appear, location and area should be automatically filled out in same manner as above and focus should be set on amount.

What happens is this: a new instance is created, focus is set on amount, but the 2 fields are not populated as in above example.

 

Next: When the other checkbox is unselected, the following should happen: the latest instance should dissapear and all cell values of last instance should be null.

What happens is this: the last instance goes aways but all the vlaues on original row (text only) also are set to null.

 

Now I know this setup is a mere issue with how I have my Table and subforms setup. So here is the setup of the form (also note images):

 

Row1 is under a Subform Values_subsection. Type: use all subforms in order / Binding: repeat section for each data item

Row1 has: Allow page breaks with content / Binding: repeat row for each data item

 

So where am I going wrong?

 

Img1.PNGImg2.PNGImg3.PNG

Img4.PNGimg5.PNGImg6.PNGImg7.PNGImg8.PNG

 

Thanks for all the help and suggestions in advance

 

Shai


Viewing all articles
Browse latest Browse all 5571

Trending Articles