Creating a button that hides/reveals dropdown lists
I am trying to create a form that includes multiple dropdown lists that are coded to populate a text box with the information. I have already successfully implemented code to autopopulate text boxes based on the dropdowns. I do not want the dropdown lists to appear visible in the final version of the document.
Is there a way to add a button or checkbox that will hide these dropdown lists? I understand this is going to include some javascript in order to function (if possible), if so would anyone be able to point me in the right direction?
I am very new to javascript and have been teaching myself throught this project so any feedback, tips, examples you may have will be greatly appreciated.
