neojp / gravity-forms-placeholders Goto Github PK
View Code? Open in Web Editor NEWAdds HTML5 placeholder support to Gravity Forms' fields with a Javascript fallback. Javascript & jQuery are required.
Adds HTML5 placeholder support to Gravity Forms' fields with a Javascript fallback. Javascript & jQuery are required.
It seems that when the form is set to Ajax submit and none of the fields are populated, the placeholders disappear and the labels re-appear after trying to submit.
This is a really helpful little plugin, much appreciated. I've been trying to style the placeholder text slightly differently and can't seem to get any styles to stick. Possible? I went through the plugin files and can't seem to find the source of it's current color.
For some reason, when inputs have type="email" or type ="tel" the placeholder does not work.
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.
Hey Neojp,
When i send the form with ajax enabled the labels are getting displayed.. Any idea what may cause this?
Thanks for your great work with this plugin, we were usually parsing the label into the placeholder attr with JS. There is one issue where the placeholder is not working which is on the list based form. I wrote a quick script that works to pull the th and parse as a placeholder and thought it would be great to include something in the plugin that works for this as well.
Hi,
It seems like the newest GF 1.8.12 somehow breaks the name-field in GF. The description of the field shows outside the form field, all other fields works as well. Does anyone have a idea of how to fix this small bug?
Thanks for a great plugin! :)
LOVE the plugin but I am having difficulty getting the placeholder text to be visible in Chrome and on mobile.
Here's my sandbox site: http://hoodmountainstudio.net/
IE and FF are working just fine.
Any suggestions?
Thanks,
Mary
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.