diff --git a/forms/FieldGroup.php b/forms/FieldGroup.php index 96dd4ef68..e40165346 100755 --- a/forms/FieldGroup.php +++ b/forms/FieldGroup.php @@ -83,7 +83,22 @@ class FieldGroup extends CompositeField { } function FieldHolder() { - return FormField::FieldHolder(); + $Title = $this->XML_val('Title'); + $Message = $this->XML_val('Message'); + $MessageType = $this->XML_val('MessageType'); + $RightTitle = $this->XML_val('RightTitle'); + $Type = $this->XML_val('Type'); + $extraClass = $this->XML_val('extraClass'); + $Name = $this->XML_val('Name'); + $Field = $this->XML_val('Field'); + + $titleBlock = (!empty($Title)) ? "" : ""; + $messageBlock = (!empty($Message)) ? "
" : ""; + $rightTitleBlock = (!empty($RightTitle)) ? "" : ""; + + return <<$titleBlock