How to initialize all Controls in a section to hidden
I have a form section with many Controls.
Is there a way to initialize on form.load all Controls of a section to hidden with some code without having to use the visual rule builder?
-
Official comment
Hi Daniel,
You can uncheck the section's visible property in the Form Designer - this will hide the section and all controls inside of it. Would that work for your use case?
If you want the section to be visible but the controls inside to be hidden, you can either uncheck each control's visible property in the Form Designer, or set this via your rules. Perhaps you have some criteria that makes the control(s) visible - add an Else action to set them to hidden, which will hide them on form.load unless the condition is met. This documentation explains the syntax you can use for rule code if you do not want to use the Visual Rule Builder.
Please sign in to leave a comment.
Comments
1 comment