private function getPMDropdown() { $selectPM = new Dropdown("_" . $this->getName() . "_pm"); $selectPM->set("id", "_" . $this->getName() . "_pm"); $selectPM->addOption("am", "am")->addOption("pm", "pm"); $selectPM->set("class", "dateBox"); $selectPM->set("onchange", "updateHiddenTimeField('" . $this->getName() . "')"); return $selectPM; }