form submit on typing completion