Forums

Uploading file on a form

otinane 28 Apr, 2012
I have searched but didnt found a new version how to of file upload in a chrono form.

My question is the following.I am using Chronoforms 4.0 RC3.3
I have made a form that i have a Field that is type of file.First question is when i create the table for the database what type should be this field?Text?varchar?
Second question is that i dont know if i have to enable anything else so i the attachments will be uploaded in our table database.

Thanks in advace
GreyHead 28 Apr, 2012
Hi otinane,

You should add an Upload Files action in the form On Submit event to rename and save the file. ChronoForms will only save the file name in the database so choose a column type like VARCHAR(64) or maybe VARCHAR(128) if you plan to save the path as well.

Bob
otinane 29 Apr, 2012
Ok thanks a lot it worked 😀
This topic is locked and no more replies can be posted.