Here's what I'm trying to accomplish:1. The user fills out a form page with various fields2. The user selects a file to upload3. when the user hits submit two things should happen: - The file selected is uploaded
- all the filled out form fields are written to the database (MS SQL)This i
You should use the getContentType() method - look
in the zope book (API - File).
Jonathan
- Original Message -
From:
Mike
Jakowlew
To: zope@zope.org
Sent: Tuesday, November 15, 2005 9:25
AM
Subject: [Zope] Problems using forms to
upload files to Zope
Mike Jakowlew schrieb:
Here's what I'm trying to accomplish:
1. The user fills out a form page with various fields
2. The user selects a file to upload
3. when the user hits submit two things should happen:
- The file selected is uploaded
- all the filled out form fields are written