Closed (fixed)
Project:
Forms (obsolete)
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2005 at 07:27 UTC
Updated:
22 Mar 2008 at 06:53 UTC
The file field sends by mail the local path for the file to be sent when it must be the file itself
Comments
Comment #1
mathieu commentedThis problem is caused in forms.module, not survey.
When a file is received, data should be treated in a different way : for now, only the file name (with path provided by the user) is saved in the database.
I'll try to look into that.
Comment #2
mathieu commentedBack to 4.6.0
Comment #3
mathieu commentedoops again.
Comment #4
administrador@fidp.net commentedI really need this option working.
Please, take a look to the forms module to solve this annoyance.
Thank you all
Comment #5
mathieu commentedThis is still an issue. The "file" type is totally useless. I suppose it's not critical, as nobody acted on this for 8 months. I guess that ultimately cck will solve this issue...
From the look of it, fixing this would require adding some code in forms.module to save whatever file is uploaded. Then, in survey.module, something would need to be done to call that function, unless it's called by forms_validate(), which is the only forms.module function called in survey at this time.
I know of at least one site where this is an issue... I don't remember how I solved it, but I don't think it was the proper way...
Comment #6
quicksketchForms and survey modules are no longer being maintained, use Webform module instead.
---Closing down issue queue of survey module---