prova così:

codice:
<form onsubmit="return (f1() && f2());">
ciao