Adobe Form Subform Hide/Visible Problem | Community
Skip to main content
February 23, 2017
Question

Adobe Form Subform Hide/Visible Problem

  • February 23, 2017
  • 2 replies
  • 11738 views

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 Form Print Template:

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,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Magus069
February 23, 2017

Hi there,

you are trying to change 3 different object's presence to hidden or visible, but you only have the property presence on the first object, you do not specify the presence property on the other two objects...

hope this help

February 26, 2017

Hi Magus069,

Thank you for help and reply, but when I passed three flag for each subform, it was not solved my problem.

Do you have another idea for this issue ?

Thank you some much,

Regards,