Disable accordion tabs

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
SPTech
Posts: 10
Joined: Wed May 27, 2015

27 May 2015

Hi,

I have an accordion in the form, is it possible to disable individual tabs using javascript like tab control ?

Using tab control if I use the code below it is ok, I want to do the exact thing when using accordion.

$('#fd_tabcontrol-0').tabs('option', 'disabled', [<tabindex>]);

Thanks in advance.

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

28 May 2015

Hi,

You can hide a particular section by its index following way:

Code: Select all

$('#fd_accordion-0 > h3').eq(0).hide();
$('#fd_accordion-0 > div').eq(0).hide();

SPTech
Posts: 10
Joined: Wed May 27, 2015

28 May 2015

Hi, thank you for quick reply.

The code above works well, it hides the section completely. Is there another option to disable section like on the tab control ?

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

29 May 2015

Hi,

Unfortunately, the accordion doesn't support such method. Our support team can implement a function that disables a section by its index, it will take 100 support minutes. If you're interested in it, please, pay for the support minutes in our store: http://spform.com/buy

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests