Email Condition not working well

confis

Member
Hi,
I have radio button element on my form with 3 option
0
1
2
when user submit the form the default on the radio button is 2
I add condition
return '{fab_leave_tracking___status}' == 2;
send email

and add another email form element for condition 0 and 1
condition for 0
return '{fab_leave_tracking___status}' == 0;
send email

condition for 1
return '{fab_leave_tracking___status}' == 1;
send email

only the condition for 2 is working

any idea

upload_2017-4-28_16-53-1.png

upload_2017-4-28_16-49-20.png

upload_2017-4-28_16-49-49.png


upload_2017-4-28_16-50-23.png


upload_2017-4-28_16-50-51.png
 
I may need to ask it differently

the scenario is like this

User ask for leave - radio button status is 2 if the status is 2 - email send to admin
then admin need to approve - he change the radio button status is 1 and submit the form (same form)
if the status is 1 - email send to user

the change of the admin from 2 to 1 not sending the email to the user
 

Attachments

  • upload_2017-4-28_17-34-55.png
    upload_2017-4-28_17-34-55.png
    9 KB · Views: 26
I manage to solve it

I use same table but different form
i try to submit from the user form
now i change my condition to the manage form and it work :)
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top