we know that in OJS , first name and last name for author is mandatory field, the problem is many of our author only have single name :D and we confuse about it. Recently I am using dot (.) for first name and it’s look weird when displayed :))

Today I am trying do some dirty hack to my OJS, I will make author “first name” not mandatory anymore. Here the dirty trick , use at your own risk :D

edit file “classes/submission/form/MetadataForm.inc.php” around line 84 remove fisrtname from array , the code will look like this :

$this->addCheck(new FormValidatorArray($this, 'authors', 'required', 'author.submit.form.authorRequiredFields', array('lastName')));

If you using QuickSubmit plugin , edit the plugin file ” plugins/importexport/quickSubmit/QuickSubmitForm.inc.php ” around line 35, remove the firstname on validate, so the code look like this :

$this->addCheck(new FormValidatorArray($this, 'authors', 'required', 'author.submit.form.authorRequiredFields', array('lastName')));