Hmm... It should work out of the box... Is your app customized? Why do you have to care about .js, web2py,js, they should be already in use...
Are you migrating a old app under new web2py version? If so, you may have to change your layout in order to include those files you are talking about, since some of the files have change of name since the new version. Most contain the same stuff but have new names... So if you have your own customized layout, you may have to look into the new layout of the welcome app for example et and copy/paste the inclusion of those files... Richard On Sat, Sep 22, 2012 at 10:07 AM, Alec Taylor <[email protected]>wrote: > I've tried to be as specific as possible with my date field, but I still > can't get it to work. > > Field('DOB', 'date', requires=IS_DATE_IN_RANGE(minimum=date(1920,12,31),format > ='%d-%m-%Y'), label=T('D.O.B.'), default=date(1920,12,31), widget=SQLFORM. > widgets.date.widget) > > Note that I've tried including all the bootstrap *.js and all the web2py > *.js including web2py.js and calendar.js. > > As a final attempt I set a default date so that people would know the > required schema. Editing this however didn't give errors; just submitted > the default date! (where's my just-changed date?) > > *How do I get the date widget to work?* > > Thanks for all suggestions, > > Alec Taylor > > -- > > > > --

