Ah, then it's very simple. You can use something like this:
if (this.getField("X").valueAsString==this.getField("Y").valueAsString) {
app.alert("Error! The values of the fields X and Y are the same.");
} else {
// rest of the code goes here
}
Ah, then it's very simple. You can use something like this:
if (this.getField("X").valueAsString==this.getField("Y").valueAsString) {
app.alert("Error! The values of the fields X and Y are the same.");
} else {
// rest of the code goes here
}