This is a follow-up for #1825044: Turn contact form submissions into full-blown Contact Message entities, without storage
Problem/Motivation
The patch provided in #1825044: Turn contact form submissions into full-blown Contact Message entities, without storage converts Contact Categories into tabs, so users have different and fieldable! forms).
The main issue here is that created tabs are grouped at the top of the contact form. A reasonable feature request for D8 will be, How can I remove those tabs, I already have a menu pointing to that...

This is also one of the reasons why issues like this #183678: Select Category via URL in Contact Form exists.
Proposed resolution
Add a option to determine it the Contact Category will create or not a tab above the contact form.
Remaining tasks
Write a patch
User interface changes
@todo
API changes
@todo
| Comment | File | Size | Author |
|---|---|---|---|
| contact-form-tabs.png | 24.89 KB | dagmar |
Comments
Comment #1
sunSlightly revising issue title.
Comment #2
sunThe actual category-specific forms and their URLs are currently not exposed anywhere, since that functionality was removed from the committed patch.
So let's discuss how we want to handle and expose contact category forms here.
Comment #3
andypostThe easiest way to fix this to implement a menu-link creation on Contact Category form to allow user decide
Another solution to add a form "a-la jump-menu" to quickly navigate a needed form
Comment #4
andypostThere's a duplicate issue with different approach #1997692: Create contact form block
Comment #5
discipolo commentedinstead of a menu creation link a checkbox that adds a tab to the site contact form like in the screenshot might be more practical. a menu item for the global contact form already exists and category specific links can easily be created manually (maybe a help text to that extent along with the checkbox).
possibly just having a "view" tab when editing contact form categories would help to get to the specific url. also having the category name in the breadcrumbs or title of the edit categories page might be helpful
Comment #6
andypostSuppose contact categories already exposed to their URLs,
so probably it makes sense to add another block that displays a whole form in selected display mode?
Also links in block from #1997692-24: Create contact form block could be altered to display site wide contact form in modal
Comment #7
andypostEach contact category already displayed at separate page, so only navigation should be solved in #1997692: Create contact form block