Write, Bureaucrats, Administrators
4,332
edits
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 |