Index: branches/5.2.x/core/kernel/kbase.php =================================================================== diff -u -N -r14599 -r14605 --- branches/5.2.x/core/kernel/kbase.php (.../kbase.php) (revision 14599) +++ branches/5.2.x/core/kernel/kbase.php (.../kbase.php) (revision 14605) @@ -1,6 +1,6 @@ GetFieldOptions($field, $is_virtual); - if ( !$field_options ) { + if ( !$field_options && strpos($field, '#') === false ) { + // we use "#FIELD_NAME#" as field for InputName tag in JavaScript, so ignore it $form_name = $this->getFormName(); trigger_error('Field "' . $field . '" is not defined' . ($form_name ? ' on "' . $this->getFormName() . '" form' : '') . ' in "' . $this->Prefix . '" unit config', E_USER_WARNING); @@ -803,7 +804,7 @@ $formatter =& $this->Application->recallObject($formatter_class); /* @var $formatter kFormatter */ - + return $formatter->Format($value, $name, $this, $format); } @@ -853,7 +854,7 @@ if ( isset($this->Fields[$field]['formatter']) ) { $formatter =& $this->Application->recallObject($this->Fields[$field]['formatter']); /* @var $formatter kFormatter */ - + $formatter->UpdateSubFields($field, $this->GetDBField($field), $this->Fields[$field], $this); } }