Is it possible to "force" the use of a specific form for viewing and editing records based on a value of the record?
For instance, I have a projects table and each of the projects displays different fields on the form based on the 'type' of project. Rather than having all projects display fields that are not relevant, I want to create a very customized form for each of the projects, and I want that form to be 'called' whenever the user clicks on the eye/pencil icons to view/edit the record.
I know I could do this by creating project-specific roles and assigning the needed forms to each role, but I do not want to create 30+ roles just tor this functionality.
I also know that I could create a custom button that opens a specific form for viewing the record, but the problem is that when the user switches from view mode to edit mode, the default form 'kicks in' rather than the project-specific form. The custom button would work if I could keep the custom form when switching between views.
Anyone know how to accomplish this?
Thanks in advance.