Forums

If statement

gnjurac 17 Mar, 2016
Hello

I need to match two fields from form with two field from DB in same row and depending from true or false to execute event(mail,curl) or loop event.
I need help with if statement?

Thx
GreyHead 17 Mar, 2016
Hi gnjurac,

What are the field names? and the column names? Are you using a DB Read to get the database record? What do you see in a Debugger action if you add one after the DB Read?

Bob
gnjurac 17 Mar, 2016
I have form field id2 and tel2 and on submit i have DB read records id and tel,
i need if id2=id and tel=tel2 to send email or execute curl.

Don't have idea how to do it, just part with
if(id2=id and tel=tel2){send email or curl}
else{event loop}
This topic is locked and no more replies can be posted.