If you use INPUT than you want an <input>...</input>. No widgets.

I suggest you use SQLFORM.factory(Field(.....)) instead.

On Nov 4, 8:20 am, Andrew Thompson <andre...@aktzero.com> wrote:
> I built a FORM() object to handle data collection for multiple records
> in one swoop, but it doesn't seem to activate the widgets. Do I need
> something more than the below?
>
> INPUT(_type='text',_name='date', requires=IS_DATE())
>
> The validator is applied, but the widget is not.
>
> I also was trying to do a custom form layout in my view, but I was not
> able to make form.custom.<anything> work, for FORM or SQLFORM. I must be
> missing something. Is the 'custom' in form.custom.begin defined by
> default, or do I need to define it somewhere?
>
> Thanks.
>
> --
> Andrew Thompsonhttp://aktzero.com/

Reply via email to