Trigger Examples: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 79: | Line 79: | ||
// and will be advised the application does not pass criteria | // and will be advised the application does not pass criteria | ||
if (e.field("Years in city") < | if (e.field("Years in city") <= 2) { // Sample field validation | ||
message("Application inadequate"); // You'll want more | message("Application inadequate"); // You'll want more | ||
cancel(); // This will abort the save, but continue the script | cancel(); // This will abort the save, but continue the script |