Submitted by tyler on Mon, 02/06/2012 - 14:36
Have you ever wanted to grant access to a certain list of users so they could access a Drupal Webform's submission results? The default permissions that come with Webform don't provide much granularity in this scenario, so a custom solution needs to be implemented.
Luckily Webform has a few hooks to make our lives easier.
Submitted by tyler on Wed, 12/21/2011 - 11:21
Once upon a time, on a dark day, December 21st, 2011 to be exact. There was a desire to modify a Drupal webform. Normally, one could use replacement pattern tokens available in the Webform UI to set default values on a component field. But this was a special day, a day where a Webform field had to be prepopulated with a value that was not available via replacement pattern tokens. So if you need to modify a Webform via hook_form_alter, try something like this:
Submitted by tyler on Wed, 11/16/2011 - 10:29
If you need to do something when a user edits/updates a previous webform submission, try something like this: