Extended File Field

The gist: "This module extends the functionality of the core 'file' field, adding new capabilities to the file upload widget, and providing a new extendible field formatter for displaying lists of files."

Drupal hide upload button on form

In Drupal 7, when you have a file field, there is an upload button next to the input field. After selecting a file, if the upload button isn't pressed, the file gets uploaded upon submission of the form. Some say the upload button isn't necessary. So, here's some code that will hide the button for a specific field. Thanks to Chris Darke for the snippet.

Drupal 6 poll theming

Theming polls is not that hard when you know what to do:

First, you can use templates to theme everything except the radios:

  • poll-vote.tpl.php
  • poll-vote-block.tpl.php (must also copy over poll-vote.tpl.php)
  • poll-results.tpl.php

Webform2PDF

"The Webform2PDF Drupal module is an extension of the Webform module. It can be used to generate PDF document from the results of a form. The generated PDF document can be attached to the form summary e-mail sent by Webform module, or it can be downloaded from the /Results/ page. Different PDF templates can be set for each form. The templates can be formatted with HTML tags, and they can be edited with WYSIWYG Drupal module, making the template

Webform Rules

"Did you ever want to react on webform submission using rules but couldn't find the proper event? Webform Rules makes it possible to catch webform submissions by rules and do whatever you'd like to do with it (meaning: do whatever rules let you do with it)."

Webform Validation

adds the ability to validate form submission data using a bunch of preset rules
  • Numeric values (optionally specify min and / or max value)
  • Minimum length
  • Maximum length
  • Minimum number of words
  • Maximum number of words
  • Equal values on multiple fields
  • Unique values on multiple fields
  • Specific value
  • Require at least one of