Thanks again Anthony! Thats perfect On Friday, 24 August 2012 14:42:04 UTC+12, Anthony wrote: > > Use the IS_DATE_IN_RANGE validator -- see > http://web2py.com/books/default/chapter/29/7#Validators for details. > Maybe something like: > > IS_DATE_IN_RANGE(maximum=request.now.date()) > > Anthony > > On Thursday, August 23, 2012 10:24:14 PM UTC-4, Stephen Logan wrote: >> >> Hi Guys >> Having a crack at my first webapp and stuck on the model:( >> >> What i want to do is record how far i have run on a particular day... >> QUESTION: how do i prevent a user from selecting a day in the future? as >> it is invalid.... >> >> >> Thanks in Advance >> >> Stephen >> >
--

