form input doesn't work, implemented toggle, please help fix