Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
in some situations it would be great if I could configure multistep nodeform to show the steps only within the add form and not in edit form. Maybe this would make multistep a more flexible solution for some users...
Kind regards
Comments
Comment #1
stBorchertHm, this would require some major changes starting with
msnf_attach_steps()
where$form_state
needs to be added as additional argument andmsnf_info_steps()
so you can alter the step definitions withhook_msnf_info_steps_alter()
.Patches are welcome ...
Comment #2
stBorchert-duplicate comment-
Comment #3
stBorchertFixed in commit ffea588a9d.
Additionally I've added msnf.api.php with a small example hot to use hook_msnf_info_steps_alter().
Comment #4
stBorchertCreated new release (7.x-1.4) that included this feature.
Comment #5
Zippy CreditAttribution: Zippy commentedMany thanks! I will test the new feature as soon as possible.
Kind regards
Comment #6
digitopo CreditAttribution: digitopo commentedI'm also looking for this feature. How can I access the options for this to disable multi-step node form for the node's edit form once it's been created?