OpenWGA 7.6 - TMLScript reference

WGA » WGA.Validate
Method :

isDateInFuture([date])

On object WGA.Validate
Usage Tests if the date is a valid date in the future
Parameters

date (Date, optional):

Date to test. In WebTML field validations this can be omitted to test the current field

Return value true if the date is in the future (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events