I had setup a config-record that holds record type and form id. This setup record also has children with fieldid and fieldtype.
This setup record is used to allow direct edits of fields in view-mode.
I planned to make it possible to set it up per form. But for now, I scrapped it.