I'm trying to print "Fail" in red letters in a text box if the value in another text box is worng.
Here's what I have in the text box wher I want the "Fail" message:
var one = this.getField("Text6");
if (one.value != '1234')
event.value = "fail";
this isn't working, and I have no idea how to make the letters red when I get it fixed. Can anyone help?