Partial port of ccc7fe3e1d04c7cabad916e4e57c7739743d5c91 to glitch-soc
It doesn't ensure the field isn't changed, just that it isn't submitted if
the field isn't visible. Ensuring the field isn't changed would require
reworking the “always show CW field” feature.