Ciao Harding,
sono tutti campi text? Se sì potresti fare una funzioncina tipo questa
da richiamare cosìcodice:function Controlla(ff){ var i var msg='' for(i=0;i<ff.elements.length;i++) if(ff.elements[i].type=='text') if(ff.elements[i].value=='')msg+='- Inserire un valore nel campo '+ff.elements[i].name+'\n'; if(msg!=''){ alert('ATTENZIONE!\n'+msg) return false }else return true }
codice:<form onsubmit="return Controlla(this)"![]()