1. The Empty Author Email plugin does not work with Quick submit.
2. The proposed by asmecher edit of: classes/submission/form/MetadataForm.inc.php
- Code: Select all
$this->addCheck(new FormValidatorArrayCustom($this, 'authors', 'required', 'author.submit.form.authorRequiredFields', create_function('$email, $regExp', 'return String::regexp_match($regExp, $email);'), array(ValidatorEmail::getRegexp()), false, array('email')));
also does not work. I replaced 'required' with 'optional' as suggested but invalid email error ocurred. I even deleted the whole line from the .php file, cleared the history of the browser, and still got invalid e-mail error using the Quick submit.
Is there a way to disable globally this compulsory e-mail check, until I publish the back issues, and then enable it again. I suspect the file: classes/submission/form/MetadataForm.inc.php is not the only code that must be edited when using the Quick submit plugin.
I am using freshly installed latest version ojs 2.4.3, and there are 3 different journals in one ojs database. Is it possible that somehow the php files that need to be edited have tripled. I ask this because plugin configuration appears to be journal specific, not global to all journals in the ojs.