How to use a custom renderer for a form element?

See also: