ciao ivanhalen,

basta aggiungere un controllo che se è vuoto o non numerico svuota i campi
codice:
function calcReductions(theForm) {
  var adult = theForm.RAT_ADULT.value;
  if(isNaN(adult)||adult==''){
    theForm.RAT_CHILD.value = '';
    theForm.RAT_BABY.value = '';
  }
  else{
    adult = parseFloat(adult);
    child = ((100-<%= strChildPerc %> )/100)*adult;
    baby = ((100-<%= strBabyPerc %> )/100)*adult;
    theForm.RAT_CHILD.value = child.toFixed(2);
    theForm.RAT_BABY.value = baby.toFixed(2);
  }
}