Check this post : https://blogs.sap.com/2015/07/15/overview-on-scripting-languages-for-adobe-forms-beginners/.
Hide field if empty
Using javascript :
//data.Main.HEADER.ADRESSE_CLIENT.NAME3::initialize - (JavaScript, client)
if(this.rawValue == "" || this.rawValue == null) {
this.presence = "hidden";
}
- “hidden” will hide the whole element and shift lower elements up.
- “invisible” will hide only the TEXT INSIDE the element NOT the element itself (no shifting of other elements).
