protected function get() { $a = parent::get(); $a->onchange = 'this.value=valid_date(this.value)'; $a->_placeholder = T('jj-mm-aaaa'); $a->_class = 'text date'; return $a; }
protected function get() { $a = parent::get(); $this->agent = 'QSelect/input'; $a->_src = $this->src; $this->textarea && ($a->_textarea = 1); $this->lock && ($a->_lock = 1); return $a; }
protected function get() { $this->value = ''; return parent::get(); }
protected function get() { $a = parent::get(); $a->onchange = "this.value=+this.value||'';if(this.value<0||this.value>{$this->maxint})this.value=''"; return $a; }