OnClick Function to Move to Next Tab
-
- Posts: 4
- Joined: Sun Aug 21, 2016
Hi,
I have created a form with 8 tabs. I have included buttons at the botttom of each tab to move between tabs, primarily to 'Go to the Next Section'.
How do I add Java to each button to move to the next section, and what would that Java be?
Thanks!
I have created a form with 8 tabs. I have included buttons at the botttom of each tab to move between tabs, primarily to 'Go to the Next Section'.
How do I add Java to each button to move to the next section, and what would that Java be?
Thanks!
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Insert the following code into OnClick property of each button:
Insert the following code into OnClick property of each button:
Code: Select all
var currentTab = fd.tabControl(0).tabs('option', 'active');
fd.tabControl(0).tabs('option', 'active', currentTab + 1);
-
- Information
-
Who is online
Users browsing this forum: No registered users and 6 guests