I am using Gravity Forms in my wordpress site. I want a way in which I can define my own form markup and map it to the form generated using Gravity Forms so when someone submits the form it mails to the email id defined in gravity form and also adds to the gravity form section in wordpress backend.
Asked
Active
Viewed 4,253 times
1
-
would you like to do it using jquery? – loQ Nov 12 '12 at 11:19
-
Ya I would love if you give a js/jQuery based solution.Thank You – aditya Nov 12 '12 at 12:30
-
unfortunately it wouldnt add a gravity form section in your wp backend – loQ Nov 12 '12 at 13:09
-
Why change the form markup? If you want it to look different, just style it. Changing the markup sort of defeats the purpose of using a plugin to generate the form. – AndyWarren Nov 12 '12 at 14:25
-
@AndyWarren Hmm ya that is true. But is there a way to get plceholder support for form fields in gravity forms . – aditya Nov 13 '12 at 14:25
-
Yes there is. See my answer. – AndyWarren Nov 13 '12 at 18:33
1 Answers
3
This will allow for placeholder text in text inputs for Gravity Forms.
Gravity Forms Placeholder Text
You may have to delete the very first <?php
from this block of code. You'll then have an additional "Placeholder" input in the Gravity Forms editor for text inputs.

AndyWarren
- 1,993
- 1
- 20
- 33
-
1Since this was down voted a year and a half after the answer, I'll post a new suggestions. Try this plugin, it works great: https://wordpress.org/plugins/gravity-forms-placeholders/ – AndyWarren Apr 16 '14 at 20:40
-
1Suggested plugin works like a charm. Just added the gplaceholder class to the form element and saved. Boom! Thanks Andy! – Mike Grace Apr 30 '14 at 20:06
-
1Yep, glad I could help. Just an FYI, GF will soon be having built in placeholder support. Not sure when, but I saw a test build screenshot from Carl Hancock (GF Founder). – AndyWarren Apr 30 '14 at 21:23