Skip to main content
Answer

Change order of displaying fields at runtime

  • September 29, 2020
  • 1 reply
  • 68 views

Forum|alt.badge.img

In the detail form we want to change the order if 2 fields depending on a certain value of a field in a row. Is this possible?

Example:

Field 1 has value "A”

In detail form you see

Field 1

Field 2

Field 3

 

Field 1 has value "B”

In detail form you see

Field 1

Field 3

Field 2

 

I was thinking about a solution using extra fields that are turned on or off via a layout procedure, but maybe there is a way via a functionality to just order the fields on runtime.

Thank you

Best answer by Anne Buit

Hi Stefan,

There is currently no ‘first-class’ logic concept that enables this type of functionality.

Using extra fields would be the only way to achieve this. Not ideal, but perhaps using a view you can still propagate the data to the same underlying columns in a table.

Alternatively, a form list could be used where every field is represented by a record and the ordering of the data source determines the order of the fields. But the required effort to implement this will probably exceed the solution where a view is used.

This topic has been closed for replies.

1 reply

Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • Answer
  • October 2, 2020

Hi Stefan,

There is currently no ‘first-class’ logic concept that enables this type of functionality.

Using extra fields would be the only way to achieve this. Not ideal, but perhaps using a view you can still propagate the data to the same underlying columns in a table.

Alternatively, a form list could be used where every field is represented by a record and the ordering of the data source determines the order of the fields. But the required effort to implement this will probably exceed the solution where a view is used.