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.
Great module, thanks a lot for it.
Can we implement workflow into webform? As in can the submitted content (via webform) go through different states? Or can we use another moderation module for the submitted content?
Thanks in advance.
Comments
Comment #1
zak_umich CreditAttribution: zak_umich commentedComment #2
zak_umich CreditAttribution: zak_umich commentedComment #3
quicksketchGenerally, this is not possible. Webform does not support any sort of workflow. You can try and extend Webform with the existing hooks, I'd suggest you use the 3.x version in which Webform is much more flexible than the 2.x version.
Comment #4
zak_umich CreditAttribution: zak_umich commentedThanks for the reply, I'm not really code savvy thou.
Can I use workflow to define states prior to accessing the webform node itself? Acting as a way of restricting the node until admins can move the user (requesting to submit the info) to the final state which allows him to access the webform node?
Thanks again
Comment #5
quicksketchYes, you can use Workflow module to grant access to the Webform node itself, though Workflow module is intended to move the Webform node through certain states, not a user. In order to grant access to a particular Webform, you'll need to use some kind of access control module like Taxonomy Access to grant access to the Webform node. Unfortunately you need to grant a single user access to a node, rather than a whole role access which is the typical approach.
Perhaps you could simply create an additional role for "submission access" that you can assign to particular users when they have access to fill out a form and use the built-in submission access to limit new submissions to only users with that role.
Comment #6
quicksketchClosing after lack of activity.