@@ -397,6 +397,7 @@ class Form
{
ob_start();
$form = $this;
+ $rule = $this->getRules();
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'view' . DIRECTORY_SEPARATOR . 'formScript.php';
$script = ob_get_clean();
return $script;