Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

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

$
0
0

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,

Roy


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>