1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug AutoValidator with upload="true"

Discussion in 'Resolved Bug Reports' started by Uniphix, Nov 4, 2011.

  1. Uniphix

    Uniphix Active Member

    I believe theres a small problem where the autovalidator is using the enctype default rather than using the upload="true" method. So therefore I have to disable autovalidation on the form so that FILES can be uploaded to the server.

    I can see why in the AdminCP that you have Edit Avatar in another screen but this is a hassle for someone like me making a addon.

    If you need me to mention more details at to what is wrong I can explain more.
  2. Mike

    Mike XenForo Developer Staff Member

    The auto validator uses ajax, which won't send files through anyway -- you have to do a different approach with that, which is why all of our uploaders use separate forms or don't use the auto validator.
  3. Uniphix

    Uniphix Active Member

    Ah okay guess that makes sense... I'll have to toy with the system later. More than likely i'll use the flash uploader... kinda like how the attachment works

Share This Page