‎2022 Jan 17 2:51 PM
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
‎2022 Jan 17 3:06 PM
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 ==
‎2022 Jan 17 4:00 PM
‎2022 Jan 17 4:01 PM
refer to link for detail: https://answers.sap.com/questions/12280082/hide-text-field-in-pdf-adobe-form.html