Hello,
sorry for posting two topics, but they are very different.
Uploading files works like a charm, the thing is that its hard to distinguish who uploaded what.
How do I create a backlink in the database to the uploaded file. Let's say the user uploaded "test.pdf" how is it possible to link this in the table to http://www.test.com/test.pdf?
moon
sorry for posting two topics, but they are very different.
Uploading files works like a charm, the thing is that its hard to distinguish who uploaded what.
How do I create a backlink in the database to the uploaded file. Let's say the user uploaded "test.pdf" how is it possible to link this in the table to http://www.test.com/test.pdf?
moon
Hi moon,
It's better to post a new thread for anew topic thank you.
Please see message #2712 near the beginning of this thread Does that do what you want?
Bob
It's better to post a new thread for anew topic thank you.
Please see message #2712 near the beginning of this thread Does that do what you want?
Bob
I am new to chronoforms. Is it possible to send me the chronoform sample that uploads a file?
It's very easy.
The simplest example would be to put the following code into the "Form HTML" in the Form Code of your form:
This creates a standard upload field and the uploaded file will be put into the /components/com_chronocontact/upload/ directory given that it has the correct permissions (CHMOD 777).
The simplest example would be to put the following code into the "Form HTML" in the Form Code of your form:
<input type="file" name="uploadedfile" id="uploadedfile" />
This creates a standard upload field and the uploaded file will be put into the /components/com_chronocontact/upload/ directory given that it has the correct permissions (CHMOD 777).
Hi mjukreja,
moontear has got most of it, you also need to do this :
In the General tab put enctype='multipart/form-data' in the Form Tag attachment field.
See this FAQ for more info.
Bob
moontear has got most of it, you also need to do this :
In the General tab put enctype='multipart/form-data' in the Form Tag attachment field.
See this FAQ for more info.
Bob
This topic is locked and no more replies can be posted.