Added functionality to majority of form controls