[Zope] How could I make a form with multiple actions
Wayne Connolly
wayne@c-media.com.au
Thu, 20 Feb 2003 01:02:27 -0800 (PST)
Hi,
I have a form which i require to do two things with.
1. Insert data into a MySQLdb table.
2. Upload a file to the zope file system.
I can do both indiviually no problems.
I want to do this so i have a mysql refrence to the
file but dont want the file actually in the mysql db.
I want all this data linked.
My problem is that I want to do both at once by
clicking the same submit button.
I was thinking that maybe I could pass all data to a
py script and have it deal with the input one at a
time. But I couldnt come up with the syntax. It doesnt
seem to gel in my dense skull.
Any idea's?
Cheers,
Wayne
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/