This discussion is archived
2 Replies Latest reply: Jan 15, 2013 3:00 AM by FrançoisDegrelle RSS

verification fields

982158 Newbie
Currently Being Moderated
Hi,
I must do a condition on three fields of my form ..
but still the 2nd message is displayed(the message from "else").
I think I can not a combination of 3 "and" in the same conditions.

//code
if :emp.id=10 and :emp.mgr=21 and :emp.year=2012 then
message('invalid');
else
message('valid');
end;

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points