On Sunday, October 7, 2012 4:57:06 PM UTC-4, Niphlod wrote:

> that's because web2py doesn't know what you expect to be filled in your 
> model. If you add the requires= bit to your "type" field, then 
> automatically web2py will turn that field into a SELECT with the correct 
> options.
>

It won't do that in this case -- that only happens when SQLFORM builds the 
form fields based on table fields. In this case, he is manually adding a 
field to the form after SQLFORM creates the form.

Anthony 

-- 



Reply via email to