src/Easy/Element/Element.php
public function setValue($value)
    {
        $this->value = $value;        
        if($this->keepCookie=='Y'){
        	if($value!=""){
        		$formName = $this->getFormObj()->objectName;       
        		setcookie($formName."-".$this->objectName,$value,time()+(int)$this->cookieLifetime,"/");
        	}
        }
    }
public function setValue($value)
    {
        $this->value = $value;        
        if($this->keepCookie=='Y'){
        	if($value!=""){
        		$formName = $this->getFormObj()->objectName;       
        		setcookie($formName."-".$this->objectName,$value,time()+(int)$this->cookieLifetime,"/");
        	}
        }
    }
Set value of element

@param mixed $value