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