diff --git a/code/UserDefinedForm.php b/code/UserDefinedForm.php index d0cbf40..b6ee5c5 100755 --- a/code/UserDefinedForm.php +++ b/code/UserDefinedForm.php @@ -319,7 +319,7 @@ class UserDefinedForm_Controller extends Page_Controller { } // Is this Field Show by Default - if(!$field->ShowOnLoad()) { + if(!$field->ShowOnLoad) { $defaults .= "$(\"#" . $fieldId . "\").hide();\n"; }