Back to Top


Add placeholder text to Views Exposed Filter

I see this question pop up all the time, it's probably a good candidate for a module, but until then here is a simple way to add 'placeholder' text to an exposed form in Drupal Views.

Add this snippet to your template.php file:


What is Drupal?
Drupal is a free software package that allows you to easily organize, manage and publish your content, with an endless variety of customization.

Subscribe to RSS - Drupal