hi Annie,place the below code in the exit event of the date field and script language should be FormCalcif($.rawValue <> null ) thenvar num = IsoDate2Num($.rawValue)-Date()if ( num > 0 ) then$host.messageBox("Invalid Date and cannot be Future Date")$.rawValue= ""$host.setFocus("your field path")endi...