If the user has entered data,,, hide button

Following because I have the same question. I would like button 1 to disappear after click and button 2 appear after button 1 is clicked.