Hi
In the edit page and before record updated
i put the following code
if ($values['ejoflisi']==1)
{
$values["tamEispra"] =$values["posoEispra"];
$values["tamEkdo"] = $values["posoEkdo"];
}
return true;
BUT i does not working
If i try it with number values like this
if ($values['ejoflisi']==1)
{
$values["tamEispra"] =0;
$values["tamEkdo"] = 0;
}
return true;
It is working fine
Where is the problem???
PS I also tried to put the values in single quotes
if ($values['ejoflisi']==1)
{
$values["tamEispra"] ='$values["posoEispra"]';
$values["tamEkdo"] = '$values["posoEkdo"]';
}
return true;
but it does not working also
Thanx