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?

Reply via email to