I would like to add an AND statement to my conditional statements in campaign. Is that possible and what is the syntax? I only found this article describing the syntax: https://experienceleague.adobe.com/en/docs/campaign-web/v8/content/dynamic-content/conditions
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @anasustic ,
Yes, you can add.
<% if (recipient.firstName == 'abc' && recipient.lastName == 'xyx' ) { %>
Views
Replies
Total Likes
Hi @anasustic ,
Yes, you can add.
<% if (recipient.firstName == 'abc' && recipient.lastName == 'xyx' ) { %>
Views
Replies
Total Likes
Hi @ParthaSarathy
Is the OR operator in the if statement allowed and are two AND operators in the if statement allowed?
Views
Replies
Total Likes
Yes,allowed. You can use || for OR
Views
Replies
Total Likes
Views
Likes
Replies