User registration, set affiliation as an optional field [OJS 3.2.1.1]

Hi @Vitaliy,

thank you for looking into my problem.
I have played around making some changes to the registrationForm.tpl, for example changing the argument required aria-required="true" to ‘“false”’, without really knowing what I’m doing.
Since none of the changes did the trick, I preferred posting the unmodified code—with affiliation being mandatory—in the examples above.

@asmecher suggested in this post what lines to change to make a field optional for user registration, but he has not explained how exactly this can be achieved.

So if you could help me I would really appreciate it.

Kind regards