Again, thanks Dave.
Seems if you do not use the full feature set of SQLFORM(factory) the
IS_IN_DB method does not work.
I was using the view to populate the form, but then simply using the
sqlform to get the values.
My way around this is something like this from the view:
{{isession.company_in
On Tuesday, February 5, 2019 at 4:31:33 AM UTC-8, Ben Duncan wrote:
>
> This is to have a drop down list appear.
> Currently sqlform.factory works only if you have all the labels etc in the
> sqlform.factory.
>
> I have a custom html using flex boxes and modal in the views but following
> these
This is to have a drop down list appear.
Currently sqlform.factory works only if you have all the labels etc in the
sqlform.factory.
I have a custom html using flex boxes and modal in the views but following
these instructions:
http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQL
3 matches
Mail list logo