Is it possible to wait for validation until submission?