Solved

Change order of displaying fields at runtime

  • 29 September 2020
  • 1 reply
  • 43 views

Badge

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

icon

Best answer by Anne Buit 2 October 2020, 09:58

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

1 reply

Userlevel 6
Badge +4

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.

Reply