function CtrlData(data){
if(data.value.length == 1){
data = "0"+data;
}
}
da l'errore 'value.length' è nullo o non è un'oggetto