Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Help property presence

Avatar

Level 1
Hello,



I have a true problem of performance with the property presence when I want to hide a field text. I have an enormous latency time after having carried out following script:



if(this.rawValue==false)

{

TextField1.presence="hidden";

}else{

TextField1.presence="visible";

}



Can somebody help me? Thank you in advance
1 Reply

Avatar

Level 6
When you do a hide/show in this way, the form has to re-render. If the form has a lot of pages, that can take a long time. If you don't need to re-render the form, use this.presence = "invisible" to hide instead of this.presence = "hidden".



Jared Langdon

www.jlangdon.ca