+-------[ April Lekin ]----------------------
| Hi,
| I have a web page that goes to a database and pulls out a bunch of records 
| for display and then I gave each field the ability to modify except the 
| primary ID.
| The problem I'm having is how do I make each field unique so that I can go 
| back to the database and update the record.  I was thinking about putting 
| the primary key in the name like:
| <input type="text" name="lname + ID" value="">
| <input type="text" name="fname + ID" value="">
| but I don't know how to do that with python.
| Is there another way to update a bunch of records at once?  

<input type="text" name="item.lname:records" value="">
<input type="text" name="item.fname:records" value="">

You'll get an a REQUEST object called item which is a list of records with
each attribute set inside it.

Andrew Milton
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to