When attaching the field define the widget for the form.