I have a subform containing input fields grouped by a content box called PC type.
In the parent form, PC type content box appears.
How can we remove/hide the content box "PC Type" (highlighted in yellow in the attachment) in the grid of the parent form ?
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.
Content box in subform - how to remove it in the grid ?
-
- Posts: 315
- Joined: Sun Mar 14, 2021 8:48 am
- Location: Geneva
- Has thanked: 87 times
- Been thanked: 11 times
Content box in subform - how to remove it in the grid ?
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
-
- Posts: 315
- Joined: Sun Mar 14, 2021 8:48 am
- Location: Geneva
- Has thanked: 87 times
- Been thanked: 11 times
Re: Content box in subform - how to remove it in the grid ?
Behind the subform, no 'Custom Code' tab
If I put the code on the main form, parent of the subform as below, no effect.
Is there any place in which I can put the code with an effect only on browse subform ?
Thx
Yves
If I put the code on the main form, parent of the subform as below, no effect.
Is there any place in which I can put the code with an effect only on browse subform ?
Thx
Yves
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Content box in subform - how to remove it in the grid ?
It's nuHide() not nuhide(). Subforms don't accept JS.
-
- Posts: 315
- Joined: Sun Mar 14, 2021 8:48 am
- Location: Geneva
- Has thanked: 87 times
- Been thanked: 11 times
Re: Content box in subform - how to remove it in the grid ?
No effect with nuHide() either. It seems it is not executed in this context. Any idea ?
-
- Posts: 315
- Joined: Sun Mar 14, 2021 8:48 am
- Location: Geneva
- Has thanked: 87 times
- Been thanked: 11 times
Re: Content box in subform - how to remove it in the grid ?
nuHide() works only on Edit form, not on Browse form.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Content box in subform - how to remove it in the grid ?
Actually, the ContentBox should not be rendered at all in the subform (Type Grid)
Use my suggestion here by creating a separate form:
viewtopic.php?t=11733
Use my suggestion here by creating a separate form:
viewtopic.php?t=11733
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Content box in subform - how to remove it in the grid ?
Is this solved or do you still need our support?