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.
Hello everyone, greetings from Guatemala, sorry my English is bad and I'm using Google translator. I speak Spanish.
I recently had the need to configure a function that allows access by role for each field in a webform. Looking across this module to Drupal 6 yogev004 shared, which I found great. I took some code and I made some variations to Drupal 7.
I apologize if it is wrong to publish the module here. Hopefully useful to someone. Greetings again.
Comment | File | Size | Author |
---|---|---|---|
webform_fields_access.zip | 2.91 KB | jestrada2011 |
Comments
Comment #1
quicksketchWe already added the "Private" checkbox in the latest release of Webform (3.13), so you can make it so that certain users have access to view a field if they have access to the "Results" tab. We won't be including any more extensive field access control than this, but your project could be put into a separate contributed project or at least into a Git sandbox.
Comment #2
quicksketch