Hide only the caption when field content is empty for a Adobe Print Form field



Dear all,

We try to hide only the caption of a field if the field content is empty.

a) The following code will hide the entire raw (entire field including caption). What should we change to the code to only hide the caption?


if(this.rawValue == null)


  this.presence ="hidden"



b) Another option would be to use conditional formatting -> change caption text to white colored text,  if the field content is empty to make it invisible on the printout.

Is there any options in ALD available or which code should be used to realize one of the above options?

Thank you in advance!

Kind regards,


Accepted Solutions (1)

Accepted Solutions (1)

Answers (0)