function prepare() { parent::prepare(); if (!($form_name = $this->getAttribute('name'))) { //should we leave it like that? return; } $this->_renameChildren($form_name, $this->children); $this->tag = 'form'; }