theTextBox is null
if (theTextBox.value.length < 1 || ', ' == 'null') theTextBox.value = "\"" + name + "\"";