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

Adobe Form Subform Hide/Visible Problem

$
0
0

Hi All,

We have a subfrom visibility(hide/insivible)  problem on adobe form.

We designed it on SAP with Adobe Livecyle Designer 11.0.

PROJE_SF has internal table binding.

I have two flags which manuplates the visibility for each subform.

when we fill the flag with 'X' we can display the subform but, next record when internal table work area flag is "space", we dont hide this subform.

 

Adobe Form Template:

adobe_design.jpg

 

 

 

Adobe Form Print Template:

Adobe Form.jpg

 

 

I wrote this JS code on docready JS event.

 

I've added subfrom flag into the form I want to hide.

 

 

if( data.PROJE_SF.AROMALAR.AROMA_SF.ARM_FLAG.isNull )

{

data.PROJE_SF.AROMALAR.AROMA_SF.presence               = "hidden";

data.PROJE_SF.AROMALAR.AROMA_SF.AROMA_PYP_SF  = "hidden";

data.PROJE_SF.AROMALAR.AROMA_SF.AROMA_ITEM      = "hidden";

}

else

{

data.PROJE_SF.AROMALAR.AROMA_SF.presence              = "visible";

data.PROJE_SF.AROMALAR.AROMA_SF.AROMA_PYP_SF = "visible";

data.PROJE_SF.AROMALAR.AROMA_SF.AROMA_ITEM     = "visible";

}

 

Please let me know if any corrections or other options to do same.

Thank you some much,

Regards,

 

 

 


Viewing all articles
Browse latest Browse all 5571

Trending Articles



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