Example #1
0
 public function __construct()
 {
     // Do the normal thing
     parent::__construct();
     // Since hidden fields are hidden (duh!), any validation errors
     // they generate should be bubbled up to their parent
     $this->set('bubble_errors', true);
 }