You are on page 1of 1

<input type="radio"

a_Si}}>Si
<input type="radio"
a_Masomenos}}>Mas o
<input type="radio"
a_No}}>No

name="Ubicacion_influencia" value="si" {{Ubicacion_influenci


name="Ubicacion_influencia" value="si" {{Ubicacion_influenci
Menos
name="Ubicacion_influencia" value="si" {{Ubicacion_influenci

foreach($array as $clave => $element){


switch($element){
case "Si":
$this->view = $this->renderView($this->view,"{{$clave_Si}}" , "checked");
$this->view = $this->renderView($this->view,"{{$clave_No}}" , "");
$this->view = $this->renderView($this->view,"{{$clave_Masomenos}}" , "");
break;
case "Mas o
$this->view
$this->view
$this->view

Menos":
= $this->renderView($this->view,"{{$clave_Si}}" , "");
= $this->renderView($this->view,"{{$clave_No}}" , "");
= $this->renderView($this->view,"{{$clave_Masomenos}}" , "checked");

break;
case "No":
$this->view = $this->renderView($this->view,"{{$clave_Si}}" , "");
$this->view = $this->renderView($this->view,"{{$clave_No}}" , "checked");
$this->view = $this->renderView($this->view,"{{$clave_Masomenos}}" , "");
break;
}
}

You might also like