Only submit form when URL field passes validation.