Quantcast
Channel: PKP Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 27290

Mailing address as a required field in OCS

$
0
0

@Katja wrote:

Hi,

We are running OCS 2.3.6.

We need the mailing address to always be a required field.

I tried adding

$this->addCheck(new FormValidator($this, 'mailingAddress', 'required', 'user.profile.form.mailingAddressRequired'));

to

classes/user/form/CreateAccountForm.inc.php

as this is included in

classes/registration/UserRegistrationForm.inc.php

and the mailing address is required if you want to register for a conference and have not yet created an account.

Also, adding this line seems to have worked on OJS:

Unfortunately, it has no effect in our OCS. Did I miss something obvious? Any help would be appreciated.

Thanks in advance.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 27290

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>