gravity-forms-placeholders icon indicating copy to clipboard operation
gravity-forms-placeholders copied to clipboard

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

Open andrebu opened this issue 11 years ago • 0 comments

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.

andrebu avatar Apr 03 '13 02:04 andrebu