Buy Now
Sign in

multiple file uploads hit and miss

sifaka , March 28 2016, 15:28
S
sifaka 57
March 28 2016, 15:28 #357911
I have a multiple file upload form working well when I press ctrl key and select another file, but when I add one file, go to another folder, and add another file, it overwrites the first file and sends only one file, the last file selected. I am not really sure I am using a "multi field" or a "file field" from the designer for the file upload.
Thanks.
GreyHead 64
March 28 2016, 21:02 #357917
Hi sifaka,

The File Field element in the Designer tab needs to have Multiple set to Yes, and the name needs be an array name ending with


  • The Files Upload action needs to be set using the input name (without the
  • ) and with the same name in the Array Fields box.

    Bob
    ChronoForms technical support
    If you'd like to buy me a coffee or two, thank you very much
    S
    sifaka 57
    March 29 2016, 15:04 #357948
    Field name: application_upload[]. Multiple set to yes.
    File upload, file configuration: application_upload:doc-docx-rtf-txt-wpd-wps-pdf-xls
    Handle arrays enabled. Field list: application_upload.
    The form sends multiple files if I hold the ctrl key down between choosing them. But if I simply click on a file, and then click on another file, only the last file selected is retained.
    GreyHead 64
    March 29 2016, 15:39 #357953
    Hi sifaka,

    That's under browser control and I think that it is standard behaviour see here for example.

    Bob
    ChronoForms technical support
    If you'd like to buy me a coffee or two, thank you very much
    S
    sifaka 57
    March 30 2016, 03:45 #357966
    Thanks.
    GreyHead 64
    March 30 2016, 09:28 #357968
    Hi sifaka,

    You could add a tooltip or sub-label to the input explaining how to use shift & control to do a multiple selection.

    Bob
    ChronoForms technical support
    If you'd like to buy me a coffee or two, thank you very much