The function works for me. E.g. when calling this function in the "Access Levels" form, all subforms are hidden.
https://streamable.com/cvy2p2
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
If there are no entries in the subform - to hide the subform
-
- Posts: 366
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: If there are no entries in the subform - to hide the sub
Found a mistake in the problem description.kev1n wrote:The function works for me. E.g. when calling this function in the "Access Levels" form, all subforms are hidden.
https://streamable.com/cvy2p2
On the main form, I need to hide the run objects (type = iFrame)
-
- Posts: 366
- Joined: Sat Apr 11, 2020 12:03 am
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: If there are no entries in the subform - to hide the sub
Found a mistake in the problem description.kev1n wrote:The function works for me. E.g. when calling this function in the "Access Levels" form, all subforms are hidden.
https://streamable.com/cvy2p2
On the main form, I need to hide the run objects (type = iFrame)
-
- nuBuilder Team
- Posts: 4304
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 445 times
- Contact:
Re: If there are no entries in the subform - to hide the sub
First the main form is created and then the run objects. So at the moment, when the main form is loaded, the run objects are not yet fully loaded.
Therefore, you can't retrieve the number of rows of a run object from the main form (while the run objects don't exist yet)
Therefore, you can't retrieve the number of rows of a run object from the main form (while the run objects don't exist yet)