no, factory generates your form based on fields. 
If you don't code your own widget and pass it into the field definition, 
the the default widget is used. 
You can hack the form with form.elements notation, but I'll go for a custom 
widget in your case.

On Wednesday, October 31, 2012 9:21:40 PM UTC+1, villas wrote:
>
> Using SQLFORM.factory can I easily produce an input field like this?
>
> <input type="text" data-provide="typeahead">
>
> I thought it must be possible to create extra attributes for Fields,  but 
> couldn't figure it out...
> In this example it is for using Bootstrap Typeahead.  
> If not possible,  no prob because I shall work around it in this case.
>
> Thanks,  D
>
>

-- 



Reply via email to