Using the hideButton function doesn't hide the button, but the text in the button. I think that the hiddenButton class should be added to the label and not on the input itself.