Does anyone know how to solve this problem?
I find where datepicker bind to form and I delete it. but field still has a default value...
\system\modules\backend\ DataContainer.php
lines 297-302
I tried to specify default values ,and this didn't helped.
as I see, datepicker dind't set default value for this field.
It set by trypoligh in textField.php.
Code:
return sprintf('<input type="text" name="%s" id="ctrl_%s" class="tl_text%s" value="%s"%s onfocus="Backend.getScrollOffset();" />%s',
$this->strName,
$this->strId,
(strlen($this->strClass) ? ' ' . $this->strClass : ''),
specialchars($this->varValue),
$this->getAttributes(),
$this->wizard);
but I can't find place where $this->varValue take a default value.
Bookmarks