function readInputData()
{
parent::readInputData();
$this->readUserVars(array('username', 'password', 'password2', 'firstName', 'middleName', 'lastName', 'affiliation', 'email', 'country', 'interests', 'reviewerGroup', 'authorGroup', 'readerGroup'));
if ($this->captchaEnabled) {
$this->readUserVars(array('g-recaptcha-response'));
}
// Collect the specified user group IDs into a single piece of data
$this->setData('userGroupIds', array_merge(array_keys((array) $this->getData('reviewerGroup')), array_keys((array) $this->getData('authorGroup')), array_keys((array) $this->getData('readerGroup'))));
}