Subject DATE VALIDATION
From Mustansir Ghor <mustan31@hotmail.com>
Date Mon, 12 Mar 2018 05:38:44 -0400
Newsgroups dbase.getting-started

Dear All

I am using custom object from kmdatewithcal.cc fro "dUFLP". On clicking the calendar button it stores the value in dateef but if fails to validate following routine. By putting actual date in dateef it validates

Can anybody suggest error here.

Best Regards
Mustansir

function DATEEF_onLostFocus()
      class::dateef_valid()
      return

   function DATEEF_valid()
         bval = true
        if  not (date()-this.value >= 0)
          bval=false
         endif
   return bval