jbadiag
Member
I know, it's easy but I cannot take the way to extract the list of a picklist elements.
When I try to use the email form plugin with php file i do:
But i cannot get nothing. How can I do to get the values of the picklist? Thanks
When I try to use the email form plugin with php file i do:
PHP:
<?php
$dni = $this->data['aj_votacions_pres_part_2018___dni'];
$opcio= $this->data['aj_votacions_pres_part_2018___com1_raw'];
$total = $this->data['aj_votacions_pres_part_2018___sumaHidden'];
echo "has votat amb DNI " . $dni . " les següents opcions<br>" . $opcio ."<br>Els teus projectes votats fan un total de " .$total ."<br><br>Moltes gràcies per votar";
foreach ($opcio as $value){
echo "les opcions triades son: " . $value;
}
?>
But i cannot get nothing. How can I do to get the values of the picklist? Thanks