Next button for accordian

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
asharma190
Posts: 4
Joined: Wed Feb 26, 2020

25 Mar 2020

Hello, Is it possible to do the Next and Back button for accordion ? I am using an accordion and the business would like a next and back button to move between the accordion tabs - I know how to do the button just not sure what would be the action? Thank you!
accordion.JPG
accordion.JPG (32.05 KiB) Viewed 2350 times

User avatar
mnikitina
Posts: 264
Joined: Wed Jun 05, 2019

26 Mar 2020

Hello asharma190,

If you use the accordion in 'Single' or 'SingleCollapsable' modes, you can use the code in the button's Onclick settings:

Code: Select all

$('#fd_accordion-0').accordion( "option", "active",  1).click();
Where 1 is the index of the accordion tab.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 14 guests