How can I conditionally submit a form?

Yes, thank you! I was putting listeners on to the inputs instead of just one on the ready, and they were firing too soon for validation or not at all.