Вот что в итоге получил - ОНО НЕ РАБОТАЕТ!(
Я не знаю что неправильно делаю(
otvet1 - имя input text поля;
x - переменная input text поля;
oshibka - имя динамического текста, куда данные об ошибке будут вноситься.

Код:
otvet1.onChanged = function() {
listener = new Object();
listener.onKeyDown = function() {
if (Key.isDown(Key.ENTER)) {
if (x == "120,000" || x == "120000") {
oshibka.text = "";
otvet1.border = true;
otvet1.background = true;
otvet1.borderColor = 0x00FF00;
otvet1.backgroundColor = 0xC8FFC8;
}
if (x<>"120,000" && x<>"120000") {
oshibka.text = "OSHIBKA";
otvet1.border = true;
otvet1.background = true;
otvet1.borderColor = 0x3232FE;
otvet1.backgroundColor = 0xC8C8FF;
}
}
};
};