I want to have the email field pre-populated with something like "Enter your email here." I want it inside the field, not as a field label. Once the person starts writing their email, the pre-populated text will go away. Can I do that?
I want to have the email field pre-populated with something like "Enter your email here." I want it inside the field, not as a field label. Once the person starts writing their email, the pre-populated text will go away. Can I do that?
This isn't a built in feature. It would require a customization. You can read about how to do this here:
http://www.gravityhelp.com/clearing-default-form-field-values-with-jquery/
Just what I need. But how do you generate the text inside the field?
Best,
M
You use the "default value" option to add the text to the input.
screenshot: http://bit.ly/nCrDmu
Ahh. Thanks - I was using advanced fields, and there it's not an option. Any reason not to have that?
M
Sure. The advanced fields are for names, email addresses, etc. Why would you have default values in there for those?
It's a layout thing, so I wouldn't need to clutter the form:
With the advanced fields it's perfect that I only have a field name for each section, while if I used simple fields I will have too CSS all the field names blank. Or is there a better way?
Thanks for superfast response!
Currently Gravity Forms doesn't support inline labels like that. It's not a built in feature. So the only way to do this is going to be via a customization either with jQuery or jQuery CSS.