We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36147
    • 21 Posts
    i just installed fileupload and everything works fine, but it's not possible to change the number of input fields, whatever I take, the number's always 5??

    [[!FileUpload? &filefields=`1` &uploadfields=`1` <span> </span>&uploadgroups=`Administrator,members` &extensions=`pdf` &path=`wochenkarte/` &allowoverwrite=`1` ]]


    What's wrong?

    thank you for support!
      • 9995
      • 1,613 Posts
      < span> Â </ span> huh?

        Evolution user, I like the back-end speed and simplicity smiley
        • 36147
        • 21 Posts
        just saw and changed it, but it makes no difference
        [[[!FileUpload? &filefields=`1` &uploadfields=`1` &uploadgroups=`Administrator,members` &extensions=`pdf` &path=`wochenkarte/` &allowoverwrite=`1` ]]/code]
          • 36147
          • 21 Posts
          It looks like this
            • 10208 ☆ A M B ☆
            • 1,780 Posts
            Remove &uploadfields=`1` from the call entirely. Just use &filefields.

            The documentation is a little confusing, the example shows &uploadfields, yet &filefields as shown in the parameter chart is the one that works.
              Frogabog- MODX Websites in Portland Oregon
              "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
              Having server issues? These guys have MODX Hosting perfected - SkyToaster
              • 36147
              • 21 Posts
              Doesn't help?
                • 10208 ☆ A M B ☆
                • 1,780 Posts
                It really should work just like you have it. Did you clear the cache manually? (delete all files in core/cache), and the browser cache as well. Just to be sure.

                I suppose you could try with &uploadfields only, but I ran into this in August in the same version of fileUpload and the only one that worked was &filefields.

                  Frogabog- MODX Websites in Portland Oregon
                  "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
                  Having server issues? These guys have MODX Hosting perfected - SkyToaster