From 099fb3674e4503359d4ab26cfdf323375113054b Mon Sep 17 00:00:00 2001 From: norahmollo Date: Tue, 19 Nov 2013 11:39:11 -0400 Subject: [PATCH] BUG-13576 Date Field Size BUG-13576 Date Field Size # Please enter the commit message for your changes. Lines starting --- gulliver/system/class.xmlform.php | 3 ++- workflow/engine/xmlform/dynaforms/fields/date.html | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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}