/**
  * Initialize form data from current submission.
  */
 function initData()
 {
     if (isset($this->submission)) {
         parent::initData(array('sectionId' => $this->submission->getSectionId()));
     } else {
         parent::initData();
     }
 }
 /**
  * Initialize form data from current submission.
  */
 function initData()
 {
     if (isset($this->submission)) {
         parent::initData(array('seriesId' => $this->submission->getSeriesId(), 'seriesPosition' => $this->submission->getSeriesPosition(), 'workType' => $this->submission->getWorkType()));
     } else {
         parent::initData();
     }
 }