Hi @asmecher,
I will try to use FormValidatorArrayCustom
then, i know that
$this->addCheck(new FormValidatorArrayCustom($this, 'authors', 'required', 'user.profile.form.affiliationRequired', create_function('$affiliation', 'return empty($affiliation);'), array('affiliation')));
won’t work, but how i’m supposed to deal with affiliation? I don’t know how localized fields are treated inside OJS, is it an array with affiliation + locale? I will try to use array_key_exists
but i wanna make sure that if it doesn’t works it’s something i’m doing wrong and the approach is fine.
Thanks for your help.