All experts out there,
I went thru the archives and aparantly lot more people have the same
problem as me. I would like someone to answer the following question.
Question: How to handle multiple rows in a single form?
Example: Say there is a employee class, with the following 4 attributes
- name (text field)
- sex (radio button)
- state (drop-down)
- company policy indicator (check box)
I would like to have a form with multiple rows of the employee class.
Can someone please walk-thru what should happen on the controller and as
well the html. Most of us are comfortable in reading and writing to the
database tables, but confused on the form presentation and handling the
request data on the controller side.
Thanks for you help.