Adde functions to hide and show form fields