[ZWeb] Update Multiple Records

Andrew Sawyers andrew at sawdog.com
Tue Mar 21 12:29:24 EST 2006


April, 
You are going to want to use the zope list:
http://mail.zope.org/mailman/listinfo/zope 

This particular list is strictly about the website.

Andrew Sawyers

On Tue, 2006-03-21 at 08:51 -0800, April Lekin wrote:
> 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?
> 
> _______________________________________________
> Zope-web maillist  -  Zope-web at zope.org
> http://mail.zope.org/mailman/listinfo/zope-web



More information about the Zope-web mailing list