Just add _class="date" to your INPUT field definition.

On Apr 5, 5:58 pm, Lennon <[email protected]> wrote:
> I'm trying to add the jquery UI datepicker from this web2py 
> slice:http://web2pyslices.com/main/slices/take_slice/22
>
> It works well with SQLFORM, but I want to use it on a form I've
> defined with the FORM() helper.
>
> Is there a way to do this using a simple syntax similar to the
> widget=date_widget syntax?
>
> Do I have to somehow change the default way an input with a class of
> "date" is rendered?
>
> Do I just have to do a normal integration using css?
>
> Thanks for any help you can give.

Reply via email to