Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > JavaScript API > Examples

How to control multi-step pages

Scroll Prev Next More

 

Use the following code in JavaScript events like the JavaScript OnLoad for Add or Edit pages:

 

// 0 - first tab, 1 - second tab, etc.
pageObj.setCurrentStep(1);

 

This code works in the JavaScript OnLoad event or ClientBefore/ClientAfter events of custom buttons.

See also:

JavaScript API: RunnerPage object

Events: JavaScript OnLoad

Tri-part events

Page Designer: Insert custom button

JavaScript API