Hidden box on form not working correctly