diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php
index dda55aafc..d911142d5 100755
--- a/gulliver/system/class.xmlform.php
+++ b/gulliver/system/class.xmlform.php
@@ -841,7 +841,7 @@ class XmlForm_Field
*/
public function NSFieldType ()
{
- return 'pm:fieldtype="' . $this->type . '"';
+ return 'pmfieldtype="' . $this->type . '"';
}
/**
@@ -853,7 +853,7 @@ class XmlForm_Field
*/
public function NSGridType ($show = false)
{
- $igt = 'pm:gridtype="' . $this->gridFieldType . '"';
+ $igt = 'pmgridtype="' . $this->gridFieldType . '"';
if ($show) {
return $igt;
@@ -1166,6 +1166,7 @@ class XmlForm_Field_Text extends XmlForm_Field_SimpleText
$html .= 'name . ']" ';
$html .= 'name="form[' . $this->name . ']" ';
+ $html .= $this->NSFieldType() . ' ';
$html .= 'type="hidden" value="' . $this->htmlentities( $value, ENT_QUOTES, 'utf-8' ) . '" />';
}
@@ -1228,6 +1229,7 @@ class XmlForm_Field_Text extends XmlForm_Field_SimpleText
$html .= 'id="form[' . $owner->name . '][' . $r . '][' . $this->name . ']" ';
$html .= 'name="form[' . $owner->name . '][' . $r . '][' . $this->name . ']" ';
$html .= $this->NSDefaultValue() . ' ';
+ $html .= $this->NSGridType() . ' ';
$html .= 'type="hidden" value="' . $this->htmlentities( $v, ENT_QUOTES, 'utf-8' ) . '" />';
}
@@ -1491,7 +1493,7 @@ class XmlForm_Field_Suggest extends XmlForm_Field_SimpleText //by neyek
return $str;
}
} else {
- $html = '';
+ $html = 'NSFieldType() .' >';
$html .= $this->htmlentities($formVariableValue, ENT_COMPAT, 'utf-8');
$html .= '';
return $html;
@@ -1679,7 +1681,10 @@ class XmlForm_Field_Suggest extends XmlForm_Field_SimpleText //by neyek
return $str;
}
} else {
- return $this->htmlentities( $formVariableValue, ENT_COMPAT, 'utf-8' );
+ $str = 'name . ']" name="form' . $rowId . '[' . $this->name . ']" ' . $this->NSGridType() . ' >';
+ $str .= $this->htmlentities( $formVariableValue, ENT_COMPAT, 'utf-8' );
+ $str .= '';
+ return $str;
}
}
@@ -1969,7 +1974,7 @@ class XmlForm_Field_Textarea extends XmlForm_Field
$html .= 'id="form[' . $this->name . ']" ';
$html .= 'name="form[' . $this->name . ']" ';
$html .= 'wrap="soft" cols="' . $this->cols . '" rows="' . $this->rows . '" ';
- $html .= 'style="border:0px;backgroud-color:inherit;' . $scrollStyle . '" wrap="' . $this->htmlentities( $this->wrap, ENT_QUOTES, 'UTF-8' ) . '" ';
+ $html .= $this->NSFieldType(). ' style="border:0px;backgroud-color:inherit;' . $scrollStyle . '" wrap="' . $this->htmlentities( $this->wrap, ENT_QUOTES, 'UTF-8' ) . '" ';
$html .= 'class="FormTextArea" >';
$html .= $this->htmlentities( $value, ENT_COMPAT, 'utf-8' );
$html .= '';
@@ -2035,6 +2040,7 @@ class XmlForm_Field_Textarea extends XmlForm_Field
//VIEW MODE
$html .= '