0

Is there a way to add HTML5 placeholders to Gravity Forms? I've tried a number of plugins, but none of them appear to work.

Gravity Forms: http://www.gravityforms.com/ One Plugin (that doesn't work): http://wordpress.org/extend/plugins/gravity-forms-auto-placeholders/changelog/ Another: http://wordpress.org/extend/plugins/gravity-forms-placeholders/

JacobTheDev
  • 17,318
  • 25
  • 95
  • 158
  • 1
    Yes, please see my answer on the following thread: http://stackoverflow.com/questions/13341521/can-i-define-my-own-form-markup-and-map-with-to-the-form-generated-using-gravity/13366627#13366627 – AndyWarren Dec 04 '12 at 21:32
  • After trying this, I get the error "jQuery is not defined" in Chrome. jQuery's included at the bottom of the page, not sure what the issue is. URL: http://www.olympicloans.com/users/?page_id=10 – JacobTheDev Dec 04 '12 at 21:37
  • 1
    @Rev you try to use jQuery before it's instantiated in the page. – anderssonola Dec 04 '12 at 21:40
  • Thought I had tried that before, but after trying again it does work. Thanks. – JacobTheDev Dec 04 '12 at 21:41
  • You're getting this due to the jQuery no conflict issue. Remove your copy of jQuery as it is already packaged with WordPress. Let me know if that works. – AndyWarren Dec 04 '12 at 21:42

1 Answers1

2

Yes, please see my answer on the following thread: Can I Define my own form markup and map with to the form generated using Gravity Form (wordpress plugin)?

This will add an extra field for text inputs that will allow for placeholder text. Very easy to implement, basically adding some code to the functions.php file.

Community
  • 1
  • 1
AndyWarren
  • 1,993
  • 1
  • 20
  • 33