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

How to hide rows when having Multiple line values

$
0
0

Hello,

 

I'm designing a form which include a table with only one header row and one body row. However, this row is set to have multiple values so it will depend on the data on the system it may have 1-n rows.

 

What i want to accomplish is:

 

Limit some of the rows to be visible when in one of the fields have a specific value "x".

 

Item
Main itemDescription
10Product A
2010Product B
3010Product C
40Product D

 

I want to restict the lines 20 and 30 to be visible in the form. So when field main item is populated, the line should be hidden.

 

if(Form1.bdyMain1.frmTableItems.tblItems.rowItemContent.colProdDesc.rawValue == "");

then

  Form1.bdyMain1.frmTableItems.tblItems.rowItemContent.presence = "visible";

else

Form1.bdyMain1.frmTableItems.tblItems.rowItemContent.presence = "hidden"

endif

 

Tried to use this code but the entire row gets deleted, i guess it is considering only 1 row...

 

Anyone knows how to accomplish this?

 

Many thanks in advance

 

Cheers


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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