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!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Content box in subform - how to remove it in the grid ?
-
- Posts: 348
- Joined: Sun Mar 14, 2021 8:48 am
- Location: Geneva
- Has thanked: 94 times
- Been thanked: 12 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: 4581
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 536 times
- Contact:
-
- Posts: 348
- Joined: Sun Mar 14, 2021 8:48 am
- Location: Geneva
- Has thanked: 94 times
- Been thanked: 12 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: 4581
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 536 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: 348
- Joined: Sun Mar 14, 2021 8:48 am
- Location: Geneva
- Has thanked: 94 times
- Been thanked: 12 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: 348
- Joined: Sun Mar 14, 2021 8:48 am
- Location: Geneva
- Has thanked: 94 times
- Been thanked: 12 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: 4581
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 536 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: 4581
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 536 times
- Contact:
Re: Content box in subform - how to remove it in the grid ?
Is this solved or do you still need our support?