One other small problem, the field doesn't allow for nothing to be entered now. How do I make it optional?
On Monday, December 30, 2013 8:33:34 AM UTC-6, Paolo Caruccio wrote: > > Please try to add to the INPUT the class "date": > > form=FORM(TABLE(...TR("Admission Date: ",INPUT(_class='date',_name= > 'adm_date',widget=SQLFORM.widgets.date.widget,requires=IS_DATE()))... > > > > Il giorno lunedì 30 dicembre 2013 09:48:06 UTC+1, Keith Planer ha scritto: >> >> After adding some input validation I've realized that the calendar widget >> is not popping up. Is there anything I need to add to the controller or >> elsewhere? >> >> form=FORM(TABLE(...TR("Admission Date: ",INPUT(_name='adm_date',widget= >> SQLFORM.widgets.date.widget,requires=IS_DATE()))... >> >> >> -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.