Trying giving your INPUT an id (i.e., _id='whatever') -- I think it may need an id for Anytime to work (the value of the id shouldn't matter, though each separate date/datetime field should have a unique id).
Anthony On Tuesday, November 1, 2011 2:19:21 PM UTC-4, petrasadi wrote: > > Thank you gentleman for your answers. I have followed your instructions, > but somehow it's not working > > So in my controller, I have the following: > form=FORM('Date and time: ', INPUT(_name='date', > _class='datetime'), INPUT(_type='submit')) > return dict(form=form) > > And my view looks like this: > {{extend 'layout.html'}} > {{=form}} > I have also tried specifically including the web2py_ajax.html file, but > the result is still the same. > > Shouldn't this work? >