Contao Open Source CMS > Enhance > Extension list > [cleardefault] Clear Default Value 2.0.0 rc1

Extensions > cleardefault

[cleardefault] Clear Default Value

Clear default value on focus in form generator

This simple extension adds a "Clear default value" option to the form generator fields "Textfield" and "Textarea". If you check the box, the default value will be hidden when the users clicks inside the field.

Depending on the browser, the styling must be done differently! On newer browser you can target the placeholder (::-webkit-input-placeholder or :-moz-placeholder), old browsers will keep the CSS class "cleardefault".

Version2.0.0 rc1TypeFree
Release date2012-01-18CategoryPlugin
LicenseLGPL
Copyright© 2008-2012 Andreas Schempp
AuthorAndreas Schempp (andreas.schempp) http://www.iserv.ch/
Release notes and change log for 2.0.0 rc1Other versions

Completly rewritten functionality to use the HTML5 "placeholder" attribute. The existing functionality is kept using Javascript for old (= IE) browsers.

1.1.0 stable
1.1.1 stable
1.1.2 stable
1.1.3 stable
Release functionality Total functionality
9.78
Release usability Total usability
9.67
Release quality Total quality
9.56
Release rating Total rating
9.67 (9 votes)
Release downloads38Total downloads571
Release installs308Total installs1893
Release updates38Total updates268
Dependencies of this extensionOther extensions depending on this one
NameVersion fromVersion to
Contao2.10.0 stable2.11.2 stable
NameVersion fromVersion to
PackageSizeDate
Contao_cleardefault_20000006_10.zip121712012-03-21 11:16