Hi
Would you please inform me about why it is not possible for the administrator (me) to receive more than 1 image during file upload. I enclose the debugged version of my form where I have tried to send 4 images via file 11. I hope that you are able to help.
Best regards
Nina Balslev
Would you please inform me about why it is not possible for the administrator (me) to receive more than 1 image during file upload. I enclose the debugged version of my form where I have tried to send 4 images via file 11. I hope that you are able to help.
Best regards
Nina Balslev
Data Array
Array
(
[chronoform] => Registrering
[event] => submit
[checkbox12] => 1
[Firmanavn] => H. Jensen A/S
[Fornavn] => Hansine
[Efternavn] => Jensen
[mail] => balslevnina@gmail.com
[Telefonnummer] => 88996655
[text17] => JUPvej 47
[postnummer] => 4720
[bynavn] => Præstø
[Mangler_branche] => Branche
[Hjemmeside] =>
[Bemaerkninger] => Bemækninger
[text28] => film
[captcha] =>
[button26] => send
[Itemid] => 181
[Registrering] =>
[file11] => 20170428052207_Pil.jpg
[id] => 20
[ip_address] => 109.57.5.40
)
Array
(
[file11] => Array
(
[name] => 20170428052207_Pil.jpg
[original_name] => Pil.jpg
[path] => /home/btcon/domains/telefontavlen.dk/public_html/components/com_chronoforms5/chronoforms/uploads/Registrering/20170428052207_Pil.jpg
[size] => 1350
[link] => http://www.telefontavlen.dk/components/com_chronoforms5/chronoforms/uploads/Registrering/20170428052207_Pil.jpg
)
)
Errors
Array
(
)
Debug Info
Array
(
[9] => Array
(
[Files Upload] => Array
(
[0] => Upload routine started for file upload by : file11
[1] => /home/btcon/domains/telefontavlen.dk/public_html/components/com_chronoforms5/chronoforms/uploads/Registrering/20170428052207_Pil.jpg has been uploaded successfully.
)
)
[11] => Array
(
[DB Save] => Array
(
[Queries] => Array
(
[0] => INSERT INTO `jos_cf_Kontaktformular` (`checkbox12`, `Firmanavn`, `Fornavn`, `Efternavn`, `mail`, `Telefonnummer`, `text17`, `postnummer`, `bynavn`, `Mangler_branche`, `Hjemmeside`, `Bemaerkninger`, `file11`, `user_id`, `uniq_id`, `created`) values ('1', 'H. Jensen A/S', 'Hansine', 'Jensen', 'balslevnina@gmail.com', '88996655', 'JUPvej 47', '4720', 'Præstø', 'Branche', '', 'Bemækninger', '20170428052207_Pil.jpg', '63', '00ca9d98fde3a4157ed49b3de1a08f2455662a48', '2017-04-28 05:22:07');
)
)
)
[0] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:nina@seo-webdesign.dk
[2] => Subject:Anmodning om registrering på telefontavlen af H. Jensen A/S.
[3] => From name:Telefontavlen
[4] => From email:info@seo-webdesign.dk
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:
[10] => Array
(
[0] => /home/btcon/domains/telefontavlen.dk/public_html/components/com_chronoforms5/chronoforms/uploads/Registrering/20170428052207_Pil.jpg
)
[11] => Body:
<table>
<tbody>
<tr>
<td> </td>
<td></td>
</tr>
<tr>
<td> </td>
<td></td>
</tr>
<tr>
<td>Ja tak, jeg vil gerne få sat spot på mit firma via telefontavlen.dk</td>
<td>1</td>
</tr>
<tr>
<td>Firmanavn</td>
<td>H. Jensen A/S</td>
</tr>
<tr>
<td>Fornavn</td>
<td>Hansine</td>
</tr>
<tr>
<td>Efternavn</td>
<td>Jensen</td>
</tr>
<tr>
<td>Email</td>
<td>balslevnina@gmail.com</td>
</tr>
<tr>
<td>Telefonnr.</td>
<td>88996655</td>
</tr>
<tr>
<td>Vejnavn</td>
<td>JUPvej 47</td>
</tr>
<tr>
<td>postnr</td>
<td>4720</td>
</tr>
<tr>
<td>Bynavn</td>
<td>Præstø</td>
</tr>
<tr>
<td>Vælg relevant(e) branche(r)</td>
<td></td>
</tr>
<tr>
<td>Kan du ikke finde din branche, så skriv den her</td>
<td>Branche</td>
</tr>
<tr>
<td>Vedlæg evt. logo i jpg format. Max. 200x200 px</td>
<td>20170428052207_Pil.jpg</td>
</tr>
<tr>
<td>Skriv evt. din hjemmeside</td>
<td></td>
</tr>
<tr>
<td>Skriv her, hvis du har nogle bemærkninger</td>
<td>Bemækninger</td>
</tr>
<tr>
<td>Film eller slideshow</td>
<td></td>
</tr>
<tr>
<td>Skriv om du ønsker film eller slideshow</td>
<td>film</td>
</tr>
<tr>
<td>skriv koden uden mellemrum for at undgå spam</td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table><br /><br />IP: 109.57.5.40
)
)
[1] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:balslevnina@gmail.com, mail
[2] => Subject:Registrering på telefontavlen.dk
[3] => From name:Telefontavlen.dk
[4] => From email:nina@seo-webdesign.dk
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:
[10] => Array
(
)
[11] => Body:
<h4>Hej Hansine Tak for din henvendelse om registrering på telefontavlen.dk. Nedenstående får du en oversigt over din henvendelse:</h4>
<p> </p>
<table>
<tbody>
<tr>
<td> </td>
<td></td>
</tr>
<tr>
<td> </td>
<td></td>
</tr>
<tr>
<td>Ja tak, jeg vil gerne få sat spot på mit firma via telefontavlen.dk</td>
<td>1</td>
</tr>
<tr>
<td>Firmanavn</td>
<td>H. Jensen A/S</td>
</tr>
<tr>
<td>Fornavn</td>
<td>Hansine</td>
</tr>
<tr>
<td>Efternavn</td>
<td>Jensen</td>
</tr>
<tr>
<td>Email</td>
<td>balslevnina@gmail.com</td>
</tr>
<tr>
<td>Telefonnr.</td>
<td>88996655</td>
</tr>
<tr>
<td>Vejnavn</td>
<td>JUPvej 47</td>
</tr>
<tr>
<td>postnr</td>
<td>4720</td>
</tr>
<tr>
<td>Bynavn</td>
<td>Præstø</td>
</tr>
<tr>
<td>Vælg relevant(e) branche(r)</td>
<td></td>
</tr>
<tr>
<td>Kan du ikke finde din branche, så skriv den her</td>
<td>Branche</td>
</tr>
<tr>
<td>Vedlæg evt. logo i jpg format. Max. 200x200 px</td>
<td>20170428052207_Pil.jpg</td>
</tr>
<tr>
<td>Skriv evt. din hjemmeside</td>
<td></td>
</tr>
<tr>
<td>Skriv her, hvis du har nogle bemærkninger</td>
<td>Bemækninger</td>
</tr>
<tr>
<td>Film eller slideshow</td>
<td></td>
</tr>
<tr>
<td>Skriv om du ønsker film eller slideshow</td>
<td>film</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
<p> </p><br /><br />IP: 109.57.5.40
)
)
)
Hi Nina,
As you can see from the debugger output only one file has been uploaded and is being attached to the email.
If you are using the Multi option in the Upload Files element then you need to use an array name ending in [] and you need to add the name (without the []) in the Arrays section of the Files Upload action.
Bob
As you can see from the debugger output only one file has been uploaded and is being attached to the email.
If you are using the Multi option in the Upload Files element then you need to use an array name ending in [] and you need to add the name (without the []) in the Arrays section of the Files Upload action.
Bob
Hi Bob
Thanks for your quick answer. Where do I find the multi option in the upload files element?
Best regards
Nina Balslev
Thanks for your quick answer. Where do I find the multi option in the upload files element?
Best regards
Nina Balslev
Hi Nina,
It's in the File Field element settings and is called Multiple with a Yes/No drop-down.
Bob
It's in the File Field element settings and is called Multiple with a Yes/No drop-down.
Bob
Hi Bob
Maybe it is because I do do not really understand what an array is that I cannot get it to function. Anyway I found the multiple in the file field element settings and turned it to "yes" then I changed the field name from file11 to file11[].
As far as I can see the name has been added (without the []) in the Arrays section of the Files Upload action. Anyway, now the administrator do not receive any images at all. What am I doing wrong? I enclose the debugged version for your information.
Best regards
Nina Balslev
Maybe it is because I do do not really understand what an array is that I cannot get it to function. Anyway I found the multiple in the file field element settings and turned it to "yes" then I changed the field name from file11 to file11[].
As far as I can see the name has been added (without the []) in the Arrays section of the Files Upload action. Anyway, now the administrator do not receive any images at all. What am I doing wrong? I enclose the debugged version for your information.
Best regards
Nina Balslev
ata Array
Array
(
[chronoform] => Registrering_copy
[event] => submit
[checkbox12] => 1
[Firmanavn] => H. Jensen A/S
[Fornavn] => Hansine
[Efternavn] => Jensen
[mail] => balslevnina@gmail.com
[Telefonnummer] => 88996655
[text17] => JUPvej 47
[postnummer] => 4720
[bynavn] => Præstø
[dropdown15] => Autoforhandlere,Budservice
[Mangler_branche] => Branche
[Hjemmeside] => http://seo-webdesign.dk/
[Bemaerkninger] => Beskriv
[captcha] =>
[button26] => send
[Itemid] => 181
[Registrering_copy] =>
[id] => 21
[ip_address] => 109.57.5.40
)
Array
(
)
Errors
Array
(
)
Debug Info
Array
(
[11] => Array
(
[DB Save] => Array
(
[Queries] => Array
(
[0] => INSERT INTO `jos_cf_Kontaktformular` (`checkbox12`, `Firmanavn`, `Fornavn`, `Efternavn`, `mail`, `Telefonnummer`, `text17`, `postnummer`, `bynavn`, `dropdown15`, `Mangler_branche`, `Hjemmeside`, `Bemaerkninger`, `user_id`, `uniq_id`, `created`) values ('1', 'H. Jensen A/S', 'Hansine', 'Jensen', 'balslevnina@gmail.com', '88996655', 'JUPvej 47', '4720', 'Præstø', 'Autoforhandlere,Budservice', 'Branche', 'http://seo-webdesign.dk/', 'Beskriv', '63', 'b726fb6e3b2a285631fe13551251e928dc0fb552', '2017-04-28 16:36:44');
)
)
)
[0] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:nina@seo-webdesign.dk
[2] => Subject:Anmodning om registrering på telefontavlen af H. Jensen A/S.
[3] => From name:Telefontavlen
[4] => From email:info@seo-webdesign.dk
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:
[10] => Array
(
)
[11] => Body:
<table>
<tbody>
<tr>
<td> </td>
<td></td>
</tr>
<tr>
<td> </td>
<td></td>
</tr>
<tr>
<td>Ja tak, jeg vil gerne få sat spot på mit firma via telefontavlen.dk</td>
<td>1</td>
</tr>
<tr>
<td>Firmanavn</td>
<td>H. Jensen A/S</td>
</tr>
<tr>
<td>Fornavn</td>
<td>Hansine</td>
</tr>
<tr>
<td>Efternavn</td>
<td>Jensen</td>
</tr>
<tr>
<td>Email</td>
<td>balslevnina@gmail.com</td>
</tr>
<tr>
<td>Telefonnr.</td>
<td>88996655</td>
</tr>
<tr>
<td>Vejnavn</td>
<td>JUPvej 47</td>
</tr>
<tr>
<td>postnr</td>
<td>4720</td>
</tr>
<tr>
<td>Bynavn</td>
<td>Præstø</td>
</tr>
<tr>
<td>Vælg relevant(e) branche(r)</td>
<td>Autoforhandlere,Budservice</td>
</tr>
<tr>
<td>Kan du ikke finde din branche, så skriv den her</td>
<td>Branche</td>
</tr>
<tr>
<td>Vedlæg evt. logo i jpg format. Max. 200x200 px</td>
<td></td>
</tr>
<tr>
<td>Skriv evt. din hjemmeside</td>
<td>http://seo-webdesign.dk/</td>
</tr>
<tr>
<td>Skriv her, hvis du har nogle bemærkninger</td>
<td>Beskriv</td>
</tr>
<tr>
<td>Film eller slideshow</td>
<td></td>
</tr>
<tr>
<td>Skriv om du ønsker film eller slideshow</td>
<td></td>
</tr>
<tr>
<td>skriv koden uden mellemrum for at undgå spam</td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table><br /><br />IP: 109.57.5.40
)
)
[1] => Array
(
[Email] => Array
(
[0] => An email with the details below was sent successfully:
[1] => To:balslevnina@gmail.com, mail
[2] => Subject:Registrering på telefontavlen.dk
[3] => From name:Telefontavlen.dk
[4] => From email:nina@seo-webdesign.dk
[5] => CC:
[6] => BCC:
[7] => Reply name:
[8] => Reply email:
[9] => Attachments:
[10] => Array
(
)
[11] => Body:
<h4>Hej Hansine Tak for din henvendelse om registrering på telefontavlen.dk. Nedenstående får du en oversigt over din henvendelse:</h4>
<p> </p>
<table>
<tbody>
<tr>
<td> </td>
<td></td>
</tr>
<tr>
<td> </td>
<td></td>
</tr>
<tr>
<td>Ja tak, jeg vil gerne få sat spot på mit firma via telefontavlen.dk</td>
<td>1</td>
</tr>
<tr>
<td>Firmanavn</td>
<td>H. Jensen A/S</td>
</tr>
<tr>
<td>Fornavn</td>
<td>Hansine</td>
</tr>
<tr>
<td>Efternavn</td>
<td>Jensen</td>
</tr>
<tr>
<td>Email</td>
<td>balslevnina@gmail.com</td>
</tr>
<tr>
<td>Telefonnr.</td>
<td>88996655</td>
</tr>
<tr>
<td>Vejnavn</td>
<td>JUPvej 47</td>
</tr>
<tr>
<td>postnr</td>
<td>4720</td>
</tr>
<tr>
<td>Bynavn</td>
<td>Præstø</td>
</tr>
<tr>
<td>Vælg relevant(e) branche(r)</td>
<td>Autoforhandlere,Budservice</td>
</tr>
<tr>
<td>Kan du ikke finde din branche, så skriv den her</td>
<td>Branche</td>
</tr>
<tr>
<td>Vedlæg evt. logo i jpg format. Max. 200x200 px</td>
<td></td>
</tr>
<tr>
<td>Skriv evt. din hjemmeside</td>
<td>http://seo-webdesign.dk/</td>
</tr>
<tr>
<td>Skriv her, hvis du har nogle bemærkninger</td>
<td>Beskriv</td>
</tr>
<tr>
<td>Film eller slideshow</td>
<td></td>
</tr>
<tr>
<td>Skriv om du ønsker film eller slideshow</td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
<p> </p><br /><br />IP: 109.57.5.40
)
)
)
Hi
I have tried to follow your instruction once again. The result is still the same as above. I do not receive any images at all as the administrator 😢. Do you have any possibility to tell me what I am doing wrong.
Best regards
Nina Balslev
I have tried to follow your instruction once again. The result is still the same as above. I do not receive any images at all as the administrator 😢. Do you have any possibility to tell me what I am doing wrong.
Best regards
Nina Balslev
Hi Nina,
I don't see any file uploads in the Debugger output you sent. Please take a Form Backup using the icon in the Forms Manager and post it here and I'll take a closer look.
Bob
I don't see any file uploads in the Debugger output you sent. Please take a Form Backup using the icon in the Forms Manager and post it here and I'll take a closer look.
Bob
Hi Nina,
Please add file11 to the Array Fields box of the Files Upload action.
Bob
Please add file11 to the Array Fields box of the Files Upload action.
Bob
Hi Bob
Please take a look at the enclosed image and tell me if this is not the Array Fields box of the Files Upload action, where I have written file11.
If it is not the right place then please inform me about where to find the Array Fields box of the Files Upload action?
Best regards
Nina Balslev
Please take a look at the enclosed image and tell me if this is not the Array Fields box of the Files Upload action, where I have written file11.
If it is not the right place then please inform me about where to find the Array Fields box of the Files Upload action?
Best regards
Nina Balslev
Hi Nina,
That looks to me like the Attachment Files box of the Email action so . . . it is not the Array Fields box of the Files Upload action.
Bob
That looks to me like the Attachment Files box of the Email action so . . . it is not the Array Fields box of the Files Upload action.
Bob
Hi Bob
I have looked several times for the Array Fields box of the Files Upload action, but cannot find any other places than shown in enclosed attachment. In fact you did help me with the first form where I only wanted to receive 1 image. This form functions and I - as the administrator - do receive 1 image.
Do you mind once again to take a look at my second form if I give you the login information again?
Best regards
Nina Balslev
I have looked several times for the Array Fields box of the Files Upload action, but cannot find any other places than shown in enclosed attachment. In fact you did help me with the first form where I only wanted to receive 1 image. This form functions and I - as the administrator - do receive 1 image.
Do you mind once again to take a look at my second form if I give you the login information again?
Best regards
Nina Balslev
Hi Nina,
Please try scrolling down the Files Upload actions settings - the Array Fields box is just after the three 'error' boxes.
Bob
Please try scrolling down the Files Upload actions settings - the Array Fields box is just after the three 'error' boxes.
Bob
HI again Bob
There seems to be a minor problem when my customers try to upload their images. I have only tested it with 4 images which I uploaded at the same time, Yesterday one of my friend wanted to register his company and he drew my attention to the fact that if you uploaded only one image and then would like to upload another image then the first image disappeared and was replaced by the second image.
How do I make it possible for my customers to upload their images separately without one image replacing the other?
Best regards
Nina Balslev
There seems to be a minor problem when my customers try to upload their images. I have only tested it with 4 images which I uploaded at the same time, Yesterday one of my friend wanted to register his company and he drew my attention to the fact that if you uploaded only one image and then would like to upload another image then the first image disappeared and was replaced by the second image.
How do I make it possible for my customers to upload their images separately without one image replacing the other?
Best regards
Nina Balslev
Hi Nina,
You can add more than one File Upload action (or use an Multliplier) - and/or you can add a note saying that multiple uploads need to be selected at the same time.
Bob
You can add more than one File Upload action (or use an Multliplier) - and/or you can add a note saying that multiple uploads need to be selected at the same time.
Bob
This topic is locked and no more replies can be posted.
