// software sviluppato da IusOnDemand srl per www.fatturami.com - utilizzo consentito lasciando questa riga nel codice. function Fatturami_formAction(svalue) { var objAction = document.getElementById("Fatturami_submit"); objAction.value = svalue; } function fatturami_nodoubleclick(form) // Submit button clicked { // // check form input values // // form.submit.disabled = true; form.submit.value = "Attendere, prego ..."; //alert("stopped"); return true; } function controllaordine() { var fatturami_obj=""; var buyername=""; var buyeremail=""; var buyeraddress=""; var buyerzip=""; var buyercity=""; var buyerprovincia=""; var buyercf=""; var buyerpiva=""; var buyertos=""; var fatturami_err=""; var fatturami_error=""; var fatturami_vuoto=""; buyername = Fatturami_TrimString(document.getElementById("iodbuyername").value); buyeremail = Fatturami_TrimString(document.getElementById("iodbuyeremail").value); buyeraddress = Fatturami_TrimString(document.getElementById("iodbuyeraddress").value); buyerzip = Fatturami_TrimString(document.getElementById("iodbuyerzip").value); buyercity = Fatturami_TrimString(document.getElementById("iodbuyercity").value); buyerprovincia = Fatturami_TrimString(document.getElementById("iodbuyerprovincia").value); buyercf = Fatturami_TrimString(document.getElementById("iodbuyercf").value); buyerpiva = Fatturami_TrimString(document.getElementById("iodbuyerpiva").value); buyertos = document.getElementById("iodbuyertos").checked; // ************************************************************************** if (buyername=="" ) { document.getElementById("iodbuyername").className = 'iodinputempty'; //document.getElementById("iodbuyername").placeholder = "nome e cognome o azienda"; fatturami_err=fatturami_err+"