Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adobe Form java script

vallamuthu_madheswaran2
Active Contributor
0 Likes
1,990

Hi Friends,

I am using the below javascript in adobe form to hide the field. but the field is not hidden. in binding, it's "$.header.bsart". Please correct the javascript.

CODE

if( $.parent.BSART eq "ZIMP" )then

$.presence = "hidden"

else

$.presence = "visible"

endif

if( $.parent.BSART eq "ZSTO" )then

$.presence = "hidden"

else

$.presence = "visible"

endif

Thanks with regards,

Vallamuthu M

3 REPLIES 3
Read only

former_member610590
Participant
1,446

The code your provided is not javascript. It is formalc.

Pay attention what language you are using.

as for code itself - it looks good, but substitute EQ to ==

Read only

former_member688242
Participant
Read only