If we have a form used for different purpose and in one of the action you want to set a particular attribute to form object. Then you can do that by setting the attribute value from the controller action page.
Ex:
public function addAction()
{
$form = new Form_User();
$updateUser= $form->addUser();
$updateUser->role->setAttrib('disabled','true');
}