Rearrange accordion

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
Gerald Marxer
Posts: 6
Joined: Tue Dec 02, 2014
Contact:

24 Nov 2017

HI

Is it possible to rearrange the accordion sections ?

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

27 Nov 2017

Hello, Gerald!
There are two options you can currently use. Either:
1) Do it manually. If you place all contents of the section inside Table control and then drag it first outside, then inside another section, it should be relatively easy to do. Then rename the sections.

This is probably a more difficult option, but it gives you good visual representation of what you are doing and not much can go wrong.
Just make sure not to delete anything.

2) Do it with text editor. You can export the form, open the saved .xfds file, rearrange the elements inside it the way you want and reimport.

For example:

This part

Code: Select all

        <Section Header="1">
          <List Orientation="Vertical" CssClass="" Style="width:100%;" />
        </Section>
        <Section Header="2">
          <List Orientation="Vertical" CssClass="" Style="width:100%;" />
        </Section>
        <Section Header="3">
          <List Orientation="Vertical" CssClass="" Style="width:100%;" />
        </Section>

Can be changed to this

Code: Select all

        <Section Header="3">
          <List Orientation="Vertical" CssClass="" Style="width:100%;" />
        </Section>
        <Section Header="2">
          <List Orientation="Vertical" CssClass="" Style="width:100%;" />
        </Section>
        <Section Header="1">
          <List Orientation="Vertical" CssClass="" Style="width:100%;" />
        </Section>
Second is most likely a simpler option, but be extra careful when editing form not to remove important data from it.

In any case, it's good practice to export form somewhere as a backup before you do any changes to it, just to make sure nothing breaks in the process.
Cheers

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests