Why this doesn't work in a template:
<% if isSubmitted($Email) %>
I have this function in the controller:
class PageSomething_Controller extends Page_Controller {
public function isSubmitted($x) { }
and I have $Email in the CMS:
class PageSomething extends Page {
static $db = array( 'Email' => 'Text',
);