Skip to main content
Solved

Change order of displaying fields at runtime

  • September 29, 2020
  • 1 reply
  • 61 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.

View original
This topic has been closed for comments

Anne Buit
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings