A text element of a form can be made read only therefore user cannot touch the value
$this->addElement('text','current_date',array(
'attribs' => array('readonly' => 'true')));
that will do it.
sharing some useful programming tips with other developers.
A text element of a form can be made read only therefore user cannot touch the value
$this->addElement('text','current_date',array(
'attribs' => array('readonly' => 'true')));
Copyright 2008 Splashpress Media | Converted by eBlog Templates | Blogging Pro Blogger | Designed by Design Disease
0 comments
Post a Comment