Per l'invio del form al true ti basta fare document.nome-form.submit ()