Hi everyone & happy new year,

I'm looking to find out what _type will give me a drop-down list for my 
form?

My form is currently coded in the views, so that front-end users can modify 
certain sections of the table...

            {{=FORM(
                    TD(
                        INPUT(_type='text', _name='status', 
_value=avrow.status)
                    ),
                    TD(
                        INPUT(_type='text', _name='assigned_to', 
_value=avrow.assigned_to.FullName)
                    ),
                    TD(
                        INPUT(_type='submit', _value="Submit")
                    )
                    ,_action=URL("dev", "index", args=[avrow.id])
                    )}}
            

I've been searching for a while now and can't seem to find an answer to 
this, the only answers i've found are using <select> and <option> but it 
doesn't seem to work in my code. I would look to use SQLFORM.factory but I 
am very unfamiliar with it and this seemed like a better option when I 
started.

Any help / direction appreciated.

Josh

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/52c7b95a-b4cd-4cfa-8e4a-629feda696b7%40googlegroups.com.

Reply via email to