Sorry I was not clear. IS_DATE and IS_DATETIME allow you to specify a
format. IS_TIME does not. You cannot use IS_DATE with a time only format
string (dates do not include time). Please open a ticket with a suggestion
for enhancement.
On Wednesday, 17 October 2012 12:52:58 UTC-5, dantuluri jaganadha raju
wrote:
>
> I kept field('aaa', requires=IS_DATE(format='%H:%M')) . and when I try
> to open database administration and that particular table I am getting
> error
> str' object has no attribute 'year'. and more over I want only time as
> input to a field
>
> Thank in advance.
>
> On Friday, October 12, 2012 10:44:23 AM UTC+5:30, dantuluri jaganadha raju
> wrote:
>>
>> Hi,
>> I want to accept only 9 digit number as input to one field and
>> other's are invalid. and in another field I want to accept time format of
>> form ("hours:minutes" to "hours:minutes").
>>
>> Thank you in advance...
>>
>
--