code: public function setFieldFromData($name)
      {
          $value = $this->getFieldFormData($name);
          return $this->setFieldValue($name, $value);
      }
docs: sets a field value from data object
  @param $name
  @return mixed