When creating forms with the builder, I get a button on "Fast Forms" tab of nuuserhome. I can move this easily to "Main" tab once it has been tested. Rather than create another "Launch" object, I'd like to use nuuserhome for users, but when I log in as user I can still see the "Fast Forms" tab. Can this tab be hidden from users?
Also if I change the name of "Main" tab on nuuserhome, the order of "Fast Forms" tab gets changed to 10 when it was -1 and I must go into the database to change it back to -1. What is the significance of order = -1?
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.
nuuserhome tabs
-
- nuBuilder Team
- Posts: 4562
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 528 times
- Contact:
Re: nuuserhome tabs
To hide the Fast Forms tab from users, modify nuOnLoad() in (Setup -> Header) as follows:
-1 is set to ensure that the tab is always shown in the first position.
Code: Select all
function nuOnLoad() {
if (nuFormType() == 'edit') {
if (nuCurrentProperties().form_id == 'nuuserhome' && !window.global_access) {
nuHide('nuTab0');
}
} else
if (nuFormType() == 'browse') {
// Browse Form loaded
}
}
-
- Posts: 154
- Joined: Mon Dec 05, 2011 12:23 pm
- Location: Newton Abbot, UK
- Has thanked: 2 times
- Been thanked: 1 time
Re: nuuserhome tabs
Thanks for the answer - I found it is also necessary to add nuSelectTab to show the objects.