diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php
index 4e87134d7..4ce823e1b 100644
--- a/gulliver/system/class.xmlform.php
+++ b/gulliver/system/class.xmlform.php
@@ -3230,15 +3230,20 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText
$value=$value1;
}
-
+ if ($this->required){
+ $isRequired = '1';
+ } else {
+ $isRequired = '0';
+ }
+
if ( $this->editable != "0") {
- $html = ''
+ $html = ''
. ' '
. '
'
. '
'
. '';
} else {
- $html = ''
+ $html = ''
. ' '
. '
'
. '
'