Hello all,
I have a simple file upload form with a username, email and file selection.
The steps I took were the following:
First I made my new form. I used the form wizard and placed the text boxes (for the username and email) and one file upload. After that I applied the correct settings and created the table for saving all the data to the server (I want to have the username, email and filename (or path) saved in a mysql table).
The next thing I did was creating the events. In the "On Load" I have the Show HTML action to show my form.
In the "On Submit" I have Upload Files, DB Save and Show Thanks Message. I edited the settings for the Upload Files:
Enable: yes
Fields configuration: jpg-png
Upload Path: JOOMLA_PATH/uploads/prijsvraag/aviodromeschipholtour/
Max size: 5000kb
Min size: 0kb
Safe File name: yes
After that I made the upload folder for my images.
When I test my form, I get the "Thank you message". When I take a look in my table, only the username and email is stored there. The filename/path is missing and also the file is missing from the folder on my server.
Am I doing something wrong?
Regards,
Ruud
PS. In the general tab of my form I have set the "Form Method" to 'file'.
I have a simple file upload form with a username, email and file selection.
The steps I took were the following:
First I made my new form. I used the form wizard and placed the text boxes (for the username and email) and one file upload. After that I applied the correct settings and created the table for saving all the data to the server (I want to have the username, email and filename (or path) saved in a mysql table).
The next thing I did was creating the events. In the "On Load" I have the Show HTML action to show my form.
In the "On Submit" I have Upload Files, DB Save and Show Thanks Message. I edited the settings for the Upload Files:
Enable: yes
Fields configuration: jpg-png
Upload Path: JOOMLA_PATH/uploads/prijsvraag/aviodromeschipholtour/
Max size: 5000kb
Min size: 0kb
Safe File name: yes
After that I made the upload folder for my images.
When I test my form, I get the "Thank you message". When I take a look in my table, only the username and email is stored there. The filename/path is missing and also the file is missing from the folder on my server.
Am I doing something wrong?
Regards,
Ruud
PS. In the general tab of my form I have set the "Form Method" to 'file'.