From ac73e10d066ad7ef4b7c0d7856b58bbbee0d4012 Mon Sep 17 00:00:00 2001 From: Carlos Pacha Date: Mon, 21 Mar 2011 11:47:33 -0400 Subject: [PATCH] this 6510 bug was fixed, it was missing the required in the date field, now it is working fine --- gulliver/system/class.xmlform.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 = '' . ' ' . '' . ''