The Sitecore module Webforms for Marketers is a great module: it offers a superb user experience, and its functionality is very extensible. However, even after the latest update (pdf) (january 2013) the module makes almost no use of the new HTML5 capabilities. In this series of articles I will demonstrate how to extend the WFFM module with custom field types with HTML5 functionalities.
This article I will discuss the HTML5 “placeholder” attribute. This attribute enables you to prefill the textbox with content, and let the content disappear when the user focusses on the textbox. (This functionality has also been called “Watermark“).