Skip to main content
Open

Auto empty columns that were set hidden by a layout

Related products:Software FactoryUniversal GUI
  • November 21, 2025
  • 3 replies
  • 55 views

Balazs Szeder
Apprentice

Hi there, 

When I hide a column, I always have to write extra logic to empty that column’s value. This repeats the same work and wastes time.

It is advised that layout logic should only control what the user sees, not change data. Data changes belong in default or business logic to keep things clear and safe.

My idea is to add a feature that automatically empties hidden columns based on layout or subject settings, because what are the chances that I need the data in a column/parameter that is hidden? 

This would make development faster and easier.

 

 

3 replies

Arie V
Community Manager
Forum|alt.badge.img+12
  • Community Manager
  • November 28, 2025
NewOpen

Henk Nicolai
Moderator
Forum|alt.badge.img+2
  • Moderator
  • December 9, 2025

Hi Balazs,

As an end user, I find it very helpful that if I made a mistake, I can undo (some) of it. So if, say, I have a checkbox somewhere which shows or hides a couple of other fields, which I then fill in, and then accidentally click that checkbox again, I will lose the work that I have just done.

Personally, I think this should therefore be part of business logic rather than within a standard where you can never opt out of this behaviour.

However, I definitely see your point about keeping the data clean. So I would suggest a compromise in which hidden columns are emptied right before they’re committed/saved, much like what already happens with imports.

With kind regards,
Henk


Balazs Szeder
Apprentice

Hey Henk,


You raise a valid point, and my perspective is based on how other websites typically handle this. One possible approach could be to keep the data in the hidden columns available as long as the user is in edit mode, in case they need to correct an error.

However, after the user saves (but before the data is written to the database), those hidden columns could be cleared if they contained values while hidden.

Cheers, 

Balazs