jbadiag
Member
I'm trying to send an email if the value of a field it's = 1, depending on a Yes/no field
I have this text in the php conditional
But always send the email. What I'm doing wrong?
Thanks
I have this text in the php conditional
PHP:
$aprovat = $formModel->formData["vacancesap___aprovacio[]"];
if ($aprovat == 0){
return false;
}
But always send the email. What I'm doing wrong?
Thanks