Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

How about a onSelectTab function?

Questions related to using nuBuilder Forte.
Post Reply
ARWEN
Posts: 78
Joined: Thu Nov 01, 2018 6:01 am

How about a onSelectTab function?

Unread post by ARWEN »

Hi guys,

How about an onSelectTab function that fires, when a tab is clicked?

Code: Select all

function onSelectTab(i) {
    if (something) {
       alert('Complete the data before switching to the next tab');
       return false; 
    }
}
This would work in the same way as nuBeforeSave. (if onSelectTab exists, it's called)
ARWEN
Posts: 78
Joined: Thu Nov 01, 2018 6:01 am

Re: How about a onSelectTab function?

Unread post by ARWEN »

Steven, what do you think?
ARWEN
Posts: 78
Joined: Thu Nov 01, 2018 6:01 am

Re: How about a onSelectTab function?

Unread post by ARWEN »

Hi, any news on that?
kev1n
nuBuilder Team
Posts: 4304
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 445 times
Contact:

Re: How about a onSelectTab function?

Unread post by kev1n »

Post Reply