• 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"

Uniphix

Active member
#1
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.
 

Mike

XenForo developer
Staff member
#2
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.
 

Uniphix

Active member
#3
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