How about a onSelectTab function?

Questions related to using nuBuilder Forte.

How about a onSelectTab function?

Unread postby ARWEN » Tue Jun 09, 2020 1:52 pm

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 2:31 pm

Re: How about a onSelectTab function?

Unread postby ARWEN » Thu Jun 18, 2020 1:50 pm

Steven, what do you think?
ARWEN
 
Posts: 78
Joined: Thu Nov 01, 2018 2:31 pm

Re: How about a onSelectTab function?

Unread postby ARWEN » Thu Apr 08, 2021 7:02 pm

Hi, any news on that?
ARWEN
 
Posts: 78
Joined: Thu Nov 01, 2018 2:31 pm

Re: How about a onSelectTab function?

Unread postby kev1n » Thu Apr 08, 2021 9:09 pm

kev1n
nuBuilder Team
 
Posts: 1625
Joined: Mon Oct 15, 2018 2:13 am
nuBuilder Version: 4.5


Return to General

Who is online

Users browsing this forum: absalom, GlenMcCabe and 29 guests