Hides reveals form elements based on data inputted