silence
Well-known member
Ok so I have an admin template as so:
That works just fine. Now if you add to xen:form
You get this error:
Alright fine. Now if I try to add to xen:uploadunit
it still spits out avatar as false.
Will I not be able to use an upload unit with the autovalidation feature?
Thanks!
Code:
<xen:form action="{xen:adminlink 'users/avatar-upload', $user}" upload="true">
<xen:uploadunit label="{xen:phrase upload_avatar}:" name="avatar" />
<xen:submitunit save="{xen:phrase modify_avatar}" />
</xen:form>
That works just fine. Now if you add to xen:form
Code:
class="AutoValidator"
Code:
The field 'avatar' was not recognised.
Alright fine. Now if I try to add to xen:uploadunit
Code:
class="OptOut"
Will I not be able to use an upload unit with the autovalidation feature?
Thanks!