Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all articles
Browse latest Browse all 8768

Printing Static Text based on condition in Adobe Forms

$
0
0

Hi Experts,

I am a beginner in Adobe Forms and right now i am trying to print a Static text based on condition.

I have added a Subform in my form and in the Subform have added a TextField and a StaticText.

In TextField in Binding i have bound the value for TextField and based on this value i am writing the if condition for the Subform in Script Editor.

The code is as follows.

 

if (data.second-page.header.text.ALTERNATIVE301.TextField1.rawValue == "CHAA")

 

this.presence = "visible"

 

then

 

this.presence = "hidden"

 

endif

 

The code does not work and the static text is not getting printed based on the condition i gave.

Please help

 

Thanks.


Viewing all articles
Browse latest Browse all 8768

Trending Articles



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