function __construct($submissionId, $userId, $stageId = null, $formParams = null)
{
parent::__construct('controllers/tab/issueEntry/form/publicationMetadataFormFields.tpl');
$submissionDao = Application::getSubmissionDAO();
$this->_submission = $submissionDao->getById($submissionId);
$this->_stageId = $stageId;
$this->_formParams = $formParams;
$this->_userId = $userId;
$this->addCheck(new FormValidatorPost($this));
$this->addCheck(new FormValidatorCSRF($this));
$this->addCheck(new FormValidatorURL($this, 'licenseURL', 'optional', 'form.url.invalid'));
}