Hi BarlaeDCThanks for your help. Here I am trying to add water mark on condition basesvar pass_word = PasswordField1.rawValue; if(pass_word=="itsme"){var myDoc = event.target.documentFileName;myDoc.addWatermarkFromText("Confidential", 0, font.Helv, 24, color.red);} This can be possible?Thanks in ad...