page.php
public function getFormById($id)
    {
        for ($i = 0; $i < count($this->forms); $i++) {
            if ($this->forms[$i]->getId() == $id) {
                return $this->forms[$i];
            }
        }

        return;
    }
public function getFormById($id)
    {
        for ($i = 0; $i < count($this->forms); $i++) {
            if ($this->forms[$i]->getId() == $id) {
                return $this->forms[$i];
            }
        }

        return;
    }
Finds a held form by the form ID.
A way of identifying a specific form when we have control of the HTML code.

@param string $id     Form label.

@return SimpleForm    Form object containing the matching ID.