Skip to Content
0
Aug 16, 2023 at 11:24 AM

Make Field ivisible if SO10 text/Include-text not present

122 Views

Hello,

I am currently working on a Adobe Form with live cycle designer.

I have an include text for which the relevant fields are given over by the print programm, now if the print programm doesent find any data related to the incllude text it will not transfer anything which is fine. I have a field that should only appear when the include texts content is not present.

The include text is on the master page

and I use the code

if(this.INCDLUDE.rawValue = null || this.INCLUDE.rawValue = ' '){

this.INCLUDE.presence = "hidden";
this.otherelement.presence = "visible";

}else {

this.INCLUDE.presence = "visible";
this.otherelement.presence = "hidden";

}

This code snippet is included in the javascript section of my Initialize and layout::ready events.

Any idea why this always jumps in the else clause?

Is the Include Text filled at an other time?

Any ideas welcome

Thank you for reading

András