Thanks Anthony for the reply.
1) With your answer, I understand why the ['',''] is displayed. But is there
a way to change it?
2) [] is appended since I wanted an array. But in the mean-while I
experimented without [] and just having 'items' as the variable name for all
the three fields and got the same behavior (your explanation tells me why).
3) I want the user to add as many fields as needed. Think of list of to-do
items for a single topic.
4) the db model is not a list:string. it is a regular table:
db.define_table('checklist_items',
Field('checklist_id', db.checklists),
Field('item_name')
)
5) there is only one field in the form which is mandatory; others (about 5
other fields) are not. so I can't use keepvalues=false
Hope to hear.
Thanks again,
Joseph