diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 25686d335..10fa7c75b 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -4555,7 +4555,8 @@ class XmlForm_Field_Date extends XmlForm_Field_SimpleText $Time = "true"; } - $sizeend = strlen($valueDemo) + 3; + //$sizeend = strlen($valueDemo) + 3; + $sizeend = $this->size; if ($this->required) { $isRequired = '1'; diff --git a/workflow/engine/xmlform/dynaforms/fields/date.html b/workflow/engine/xmlform/dynaforms/fields/date.html index 4aefb8242..cf4122849 100755 --- a/workflow/engine/xmlform/dynaforms/fields/date.html +++ b/workflow/engine/xmlform/dynaforms/fields/date.html @@ -122,11 +122,11 @@ {$form.PME_SUBTITLE} - - + {$form.PME_SIZE} + {$PME_MODE}