Add a simple toggle widget to forms.