Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use "description" instead of "label" for the placeholder? #6

Open
andrebu opened this issue Apr 3, 2013 · 0 comments
Open

Comments

@andrebu
Copy link

andrebu commented Apr 3, 2013

Not sure if this is the correct place to ask this...
I want to use the placeholder text as a "description" of sorts while the label remains above the field, as a label. So instead of using the label and making it disappear, I wanted to use the (barely used) description field for the placeholder entry.

Could you point me to what to change? I imagine you're hooking into gfield_label so I'd just have to change that to the "description class" and at the very least I can just CSS-hack the labels to appear again... Needless to say I am new to PHP and CSS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant