My problem is in form customizing, here's what I'm trying to do:
// here is my template for form, meaningless to write it here
Well, it's look all good, and it's even work and actually apply a template to form in first two cases (commented in code) and then render it to browser, but upno form submission an error acquires:
Fatal error: Call to a member function loadDataFrom() on a non-object in C:\Server\httpd\web\sapphire\core\control\Controller.php on line 178
Is there any other ways to customize form without errors? Or maybe my way to do this is good but not complete?