Sets the html form value of the field

@access public
@param mixed $value
@param \Zepi\Turbo\Request\RequestAbstract $request
348337
public function setValue($value, RequestAbstract $request)
    {
        if (!$request->hasParam($this->getHtmlName() . '_change')) {
            $this->value = false;
        } else if ($request->hasParam($this->getHtmlName() . '_change')) {
            $this->value = true;
        }
    }
1001910
protected function receiveStepFieldValueFromRequest($value = Doozr_Form_Service_Constant::DEFAULT_STEP_FIRST)
    {
        $requestQueryParameter = $this->getRequest()->getQueryParams();
        $requestBody           = $this->getRequest()->getParsedBody();
        $fieldname             = $this->getFieldnameStep();

        if (true === isset($requestQueryParameter[$fieldname])) {
            // Check for passed _GET arguments from URI like: /?jump=1
            $value = $requestQueryParameter[$fieldname];
        } elseif (true === isset($requestBody[$fieldname])) {
            // Check for passed _POST arguments from request body like: &jump=1
            $value = $requestBody[$fieldname];
        }

        return $value;
    }
1322304
public function bindRequest(Request $request)
    {
        $this->request = $request;

        foreach ($this->request->postArray() as $key => $value) {
            if (isset($this->fieldSet[$key])) {
                $this->fieldSet[$key]->setValue($value);
            }
        }
    }
1002707
public function setValue($value, RequestAbstract $request)
    {
        if ($value == $this->label) {
            $form = $this->getParentOfType('\\Zepi\\Web\\UserInterface\\Form\\Form');
            
            if (is_object($form)) {
                $form->setIsSubmitted(true);
            }
        }
        
        parent::setValue($value, $request);
    }
1246358
public function setValidationRulesAttribute($value)
    {
        //If the passed value is a string, we assume the request wants to save a validation
        //string. Otherwise, we parse the array given to build such a string.
        if (is_string($value)) {
            $this->attributes['validation_rules'] = $value;
        }

        else {
            $this->attributes['validation_rules'] = ValidationRulesParser::parse($value)->toString();
        }
    }
322578
public function execute(Framework $framework, RequestAbstract $request, Response $response)
    {
        $response->setOutputPart('404', 'The requested route is not available. We can\'t execute the request. Route: "' . $request->getRoute() . '"');
    }
871467
public function setValue($value)
	{
		$failure = true;
		switch($this->opration)
		{
			case '==':
				if($value==$this->condition)
					$failure = false;
				break;
			case '>':
				if($value>$this->condition)
					$failure = false;
				break;
			case '>=':
				if($value>=$this->condition)
					$faulure = false;
				break;
			case '<':
				if($value<$this->condition)
					$failure = false;
				break;
			case '<=':
				if($value<=$this->condition)
					$failure = false;
				break;
			case '*':
				if(strpos($value, $this->condition)!==false)
					$failure = false;
				break;
			case '^':
				if(strpos($value, $this->condition)===0)
					$failure = false;
				break;
			case '$':
				if(strrpos($value, $this->condition)==strlen($value)-strlen($this->condition))
					$failure = false;
				break;
			default:
				break;
		}
		if($failure)
			throw $this->getContext()->getModel('ValidationException', 'Form', array(
				array(
					'' => 'condition failed'
				)
			));
		return $value;
	}
120107
public function setValueAttribute($value) {
        if ($this->isJson($value)) {
            $value = serialize(json_decode($value, true));
        } elseif (is_array($value)) {
            $value = serialize($value);
        }
        $this->attributes['value'] = $value;
    }
1271921
public function setDescriptionAttribute($value)
    {
        if (strlen($value) > 255) {
            $value = substr($value, 0, 255);
        }

        $this->attributes['description'] = $value;
    }
554244
public function setRequest( Request $request )
	{
		$this->request = $request;

		$this->cachedRoot = null;
		$this->cachedSchema = null;
	}
420856
public final function setValue($value) {
		$this->assetConstraints($value);

		$this->value = $value;
		$this->valueLoaded = true;
	}
549842
public function setValue(string $value = null) : Element
    {
        if ($value && !preg_match("@^(https?|ftp)://@", $value)) {
            $value = "http://$value";
        }
        return parent::setValue($value);
    }
105454
public function set_value($value) {

        if ($this->running_javascript()) {
            // Check on radio button.
            $this->field->click();

            // Trigger the onchange event as triggered when 'selecting' the radio.
            if (!empty($value) && !$this->field->isSelected()) {
                $this->trigger_on_change();
            }
        } else {
            // Goutte does not accept a check nor a click in an input[type=radio].
            $this->field->setValue($this->field->getAttribute('value'));
        }
    }
1191549
public function setValue($value)
    {
        $this->value = $value;
        $this->listeners->executeAll($this->value);
    }
892482
function setConstant($elname, $value) {
        $this->_constantValues = HTML_QuickForm::arrayMerge($this->_constantValues, array($elname=>$value));
        $element =& $this->getElement($elname);
        $element->onQuickFormEvent('updateValue', null, $this);
    }
299517
public function set_value($value) {
        if ($this->running_javascript()) {
            $id = $this->field->getAttribute('id');
            $js = <<<JS
require(["jquery"], function($) {
    var wrapper = $(document.getElementById("{$id}")).closest('[data-passwordunmask="wrapper"]');
        wrapper.find('[data-passwordunmask="edit"]').trigger("click");
});
JS;
            $this->session->executeScript($js);
        }

        $this->field->setValue($value);

        // Ensure all pending JS is finished.
        if ($this->running_javascript()) {
            // Press enter key after setting password, so we have a stable page.
            $this->field->keyDown(13);
            $this->field->keyPress(13);
            $this->field->keyUp(13);
            $this->session->wait(behat_base::get_timeout() * 1000, behat_base::PAGE_READY_JS);
        }
    }
880422
public function setValue($value)
    {
        if (is_array($value)) {
            $value = implode(', ', $value);
        }

        if (!is_null($value)) {
            $this->_value = $value;
            $this->appendChild($value);
        }
    }