change

INPUT(_type='datetime',_name="datelimite",requires=IS_DATETIME()),

into

INPUT
(_type='datetime',_name="datelimite",_class='datetime',requires=IS_DATETIME
()),

the _class determines the js behavior.

Massimo


On Jun 24, 2:02 pm, Fauché JM <[email protected]> wrote:
> Hello ,
> When using SQLFORM with a datetime input :all is right ,the calendar
> appear
> But if I want to make my own form
> for example:
>
>     form=FORM(TABLE( "Date limite :",
>                                     INPUT
> (_type='datetime',_name="datelimite",requires=IS_DATETIME()),
>                                     INPUT
> (_type='submit',_value='Valider'))))
>
> then :Nothing... just a enter field for date and no calendar !
>
> I read a lot ... but I don't find the solution ..
> So I decide myself to ask you ...again...help !!
> Thank you
> Jean-Marc
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to