purtroppo non funziona
l'ho messo così

codice:
function check_date(DateForm, day, month, year)
	{	
	 //alert("day="+day +"-month="+month+"-year="+year)
	
		if (day < 1 || day > 31) 	
			{alert("Day must be between 1 and 31.")
			 var inputText = document.getElementById("input");
			 return DateForm.inputText.value = '' 
			};
		................................etc
		}
ma anche mettendo :

var inputText = document.getElementById("input");
inputText.value = ''
return

oppure
var inputText = document.getElementById("input");
DateForm.inputText.value = ''
return


ma niente.. altre idee?