From f621f1e5df374779e31aef58dc89d99cf148e118 Mon Sep 17 00:00:00 2001 From: Freddy Daniel Rojas Valda Date: Thu, 5 Feb 2015 10:30:19 -0400 Subject: [PATCH 1/3] PM-1436 "0016560: Dynaform conditions don't work on checkboxes when dynaform is in view mode" SOLVED --- gulliver/system/class.xmlform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 492e8081a..897f69dd3 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -3223,7 +3223,7 @@ class XmlForm_Field_Checkbox extends XmlForm_Field $html = " " . $this->label . ''; } else { - $html = ""; + $html = ""; } $html .= "NSFieldType() . " value='{$value}' />"; return $html; From ba23253980c1023a587450edf238144894a11d58 Mon Sep 17 00:00:00 2001 From: Freddy Daniel Rojas Valda Date: Thu, 5 Feb 2015 10:45:40 -0400 Subject: [PATCH 2/3] PM-1436 "0016560: Dynaform conditions don't work on checkboxes when dynaform is in view mode" SOLVED --- gulliver/system/class.xmlform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index 897f69dd3..bc9145ea8 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -3220,7 +3220,7 @@ class XmlForm_Field_Checkbox extends XmlForm_Field } elseif ($this->mode === 'view') { $checked = (isset( $value ) && ($value == $this->value)) ? 'checked' : ''; if ($this->labelOnRight) { - $html = " + $html = " " . $this->label . ''; } else { $html = ""; From 577b62882e384ea4fb84b0bbeef0af2624fbfeb0 Mon Sep 17 00:00:00 2001 From: Freddy Daniel Rojas Valda Date: Thu, 5 Feb 2015 11:17:39 -0400 Subject: [PATCH 3/3] PM-1436 "0016560: Dynaform conditions don't work on checkboxes when dynaform is in view mode" SOLVED --- gulliver/system/class.xmlform.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index bc9145ea8..2af7fc1b1 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -3225,7 +3225,7 @@ class XmlForm_Field_Checkbox extends XmlForm_Field } else { $html = ""; } - $html .= "NSFieldType() . " value='{$value}' />"; + $html .= "NSFieldType() . " value='{$value}' />"; return $html; } }