I have a content type with a lot of fields. End users need to create content of this type, so I want to provide them with a simplified form so that they can create a content item and edit it without knowing about the majority of the options. Then those who want to dive into the complexity could have an advanced form which exposes them.
View modes looked like the kind of thing I'm trying to do, so I used hook_entity_info_alter
to create a custom view mode and started trying to figure out how to control the view mode used by node/add/my-content-type
. After digging into the code I've realised that view modes are used by node_view
and that adding or editing a content item uses drupal_get_form
instead.
Is there some "form mode" which allows different field type and grouping configuration for different "views" onto a form?
form_alter()
based upon any number of options, the first that comes to mind is something keyed offnode/#/edit?advanced=yes
or similar.