The file field sends by mail the local path for the file to be sent when it must be the file itself

Comments

mathieu’s picture

Project: Survey » Forms (obsolete)
Version: 4.6.x-1.x-dev »

This 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.

mathieu’s picture

Title: File field not working ok » didn't mean to change the version.
Version: » 4.6.x-1.x-dev

Back to 4.6.0

mathieu’s picture

Title: didn't mean to change the version. » File field not working ok

oops again.

administrador@fidp.net’s picture

I really need this option working.
Please, take a look to the forms module to solve this annoyance.
Thank you all

mathieu’s picture

Title: File field not working ok » File field not working : filename is saved and file is lost
Version: 4.6.x-1.x-dev » master
Priority: Critical » Normal

This 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...

quicksketch’s picture

Status: Active » Closed (fixed)

Forms and survey modules are no longer being maintained, use Webform module instead.

---Closing down issue queue of survey module---