Forums

Save Attachment File Upload Path to DB

millermulti 02 May, 2013
Hello, I am using Joomla 2.5.X, Chronofoms 4.0 RC3.5.2
I have a form with a two file upload fields. I have successfully set up the form to upload the files to the server. I have confirmed the files are in the form's upload folder on the server. I have also been able to create a database table and store most of the information from the form to the table. The only thing that is not being recorded in the database is the file upload information. Currently I have files on the server but I do not have a way to correlate which file goes with which submission. When I created my DB connection I followed your steps in the instructional video, leaving all form fields checked and I have confirmed that the fields which correspond to the upload fields do exist. Are there special steps required to store the file upload information to the DB? My onSubmit events consist of the following:
Upload Files
DB Save
Email
Show Thanks Message
Thanks!
GreyHead 02 May, 2013
Hi millermulti,

Please drag a Debugger action into the On Submit event, then submit the form and post the debug results here.

Bob
millermulti 02 May, 2013
I resolved the issue by re-watching your videos (those are an excellent resource). I had missed the step of setting the ID's for my two upload fields to be the same as the field name. Once I made that change everything is working perfectly.
This topic is locked and no more replies can be posted.