This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Validate Date is after today | |
| //GwtDate not available on service portal | |
| function onSubmit() { | |
| //Type appropriate comment here, and begin script below | |
| //validate that the start date is before the today's date | |
| var field = 'start_date'; | |
| var st = g_form.getValue(field); | |
| var newTime = new GwtDate(st); | |
| var tm = new GwtDate(); | |
| tm.now(); |
NewerOlder