can validate input, but submit no