Tab Default

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
bburke
Posts: 24
Joined: Fri May 24, 2013

27 May 2013

At least for me, If the user returns to the form after exiting, they return to the last tab they were on.

Example: If they last used tab 4 and close the form, when they return they are on tab 4.

This appears to remain during the browser session, if I close and restart browser and open the form, they are on tab 1.

Is it possible to return user to tab 1 each time they visit the form?

(not sure if it matters but I am using jquery-ui theming)

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

28 May 2013

Yes, just put the following js-code into js-editor:

Code: Select all

$('#fd_tabcontrol-0').tabs('option', 'active', 0);
Now the first tab will be opened each time user opens the form.

bburke
Posts: 24
Joined: Fri May 24, 2013

28 May 2013

Thanks, works great.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests