Adds widget to form fields