codice:
if (!nomeForm.nomeCampo.disabled)
  //restituisci il valore
else
  //non fare nulla