I want to set the default for a Dojo DateTextBox element to the current date. I thought the following would work, but it doesn't seem to:
$this->addElement( 'DateTextBox', 'publishDate', array( 'label' => 'Publish Date', 'default' => date( 'm/d/Y' ), ) ); What am I doing wrong? -- A.J. Brown web | http://ajbrown.org phone | (937) 660-3969