Page 1 of 1

Rearrange accordion

Posted: 24 Nov 2017
by Gerald Marxer
HI

Is it possible to rearrange the accordion sections ?

Re: Rearrange accordion

Posted: 27 Nov 2017
by Nikita Kurguzov
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.