diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 0bd3d906e..69d5f2856 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -1989,6 +1989,12 @@ class XmlForm_Field_Textarea extends XmlForm_Field $r = 1; foreach ($values as $v) { + $this->executeSQL( $owner, $r ); + $firstElement = key( $this->sqlOption ); + if (isset( $firstElement )) { + $v = $firstElement; + } + $scrollStyle = $this->style . "overflow:scroll;overflow-y:scroll;overflow-x:hidden;overflow:-moz-scrollbars-vertical;"; $html = ''; if ($this->renderMode == 'edit') {