how to make name variable non editable
$name = new Text("name"); $name->setLabel("Name"); $name->setFilters(array('striptags', 'string')); $name->addValidators(array( new PresenceOf(array( 'message' => 'Name is required' )) )); $this->add($name);
how to make name variable non editable
$name = new Text("name"); $name->setLabel("Name"); $name->setFilters(array('striptags', 'string')); $name->addValidators(array( new PresenceOf(array( 'message' => 'Name is required' )) )); $this->add($name);