Originariamente inviato da lella69
scusate il numero 1 non c'è
if(document.richiesta.pagamento.value == ""){
Prova così:
codice:
<script>
<!--
function controlla(){
if(document.richiesta.pagamento.value == "" && document.richiesta.pagamento!=undefined){
alert("<%=tp("sccarr_13")%>")
document.richiesta.pagamento.focus();
return false; }
if(document.richiesta.trasporto.value == "" && document.richiesta.trasporto!=undefined){
alert("<%=tp("sccarr_14")%>")
document.richiesta.trasporto.focus();
return false; }
return true;
}
// -->
</script>
Fammi sapere !