问题
I have used if (this.rawValue == "0") {
this.resolveNode("Subform1").presence = "hidden";
}
in adobe livcycle. It creates a blank space for the element. Is there a function to collapse the section instead of compressing it.
回答1:
You need to make sure the subform that contains "Subform1" should have flow layout with height set to "adjust to content", so that when you hide "Subform1" the container will collapse.
来源:https://stackoverflow.com/questions/23807892/adobe-livecycle-balnks-spaces-when-form-hidden