Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-3.0-alpha3
Component:
exposed filters
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Jan 2011 at 16:01 UTC
Updated:
28 Jan 2011 at 09:50 UTC
Is there a way to clear the label inside an exposed filter textbox when the user clicks on it?
For example, I have an exposed filter with the label "Enter Model Number Here". So when I click to enter the text their I would like the label to be cleared.
Thanks!
Nimi
Comments
Comment #1
dawehnerYou could do this with custom js code.
See http://drupal.org/node/121997 and jquery in general.
Comment #2
nimi commentedCould you be a bit more specific?
I know it should be a combination between javascript/Jquery i'm just not sure how to go about it.
How do I specifiy that specific label?
Where do I put in that code, in a custom tpl file or template.php?
Thanks,
Nimi
Comment #3
dawehnerhttp://drupal.org/node/301181 helps to select a specific label.
For example the status element of this form would be