Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

adobe field problem

if (LV_S.rawValue==null||LV_S.rawValue=="")


LV_S_VAL.presence = "hidden";

LV_S_TEXT.presence = "hidden";

else {

LV_S_VAL.presence = "visible";

LV_S_TEXT.presence = "visible";


i am using this java script code to hide field , it is not working , can anyone tel me what is the problem in this code.

Former Member

Hi Ankesh,

Alternately, try this pice of code in formCalc in the exit event of LV_S field.

if ($.isNull  | $.rawValue == "") then

   xfa.form.form1...LV_S_VAL.presence = "hidden"
   xfa.form.form1...LV_S_TEXT.presence = "hidden"


LV_S_VAL and LV_S_TEXT are two fields having default presence visible in the Cell tab of the object palette.

In case you donot want the two fields to be printed, add

  xfa.form.form1...LV_S_VAL.relevant = "-print"
  xfa.form.form1...LV_S_TEXT.relevant = "-print"



Edited by: Reema Shahbazkar on Sep 10, 2008 7:47 PM

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question