Опис
This plugin adds a placeholder field into your Gravity Forms input and displays it as a proper HTML5 placeholder attribute without JavaScript (yaay!)
I took code from this article from wpbeginner.com and optimized it. Applause to them.
Встановлення
- Upload
placehold-gravity-forms.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Done. Check out your Forms in Gravity Forms.
Часті питання
- Do I need to implement jQuery somewhere?
-
No. This plugin works fine without adding jQuery to your theme.
Відгуки
Для цього плагіна немає відгуків.
Учасники та розробники
“Placehold (Gravity Forms)” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Placehold (Gravity Forms)” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
1.2
Added support for textarea
1.1.2
Tagged wrong version, sorry
1.1.1
HTML entities converted correctly
1.1
Fixed that the generated input had an html wrapper
1.0
Init