Hi
Can we use the IF ELSEIF ELSE condition in AJO fragments
if yes this below code is showing some error or there is any other way we can do it let me know it in steps or some small example of the code
Thanks
"
{% let PlanCode = profile._qwe.email9 %}
{% if (PlanCode = zxc@gmail.com) %}
<!DOCTYPE html>
<html>
<head>
<title>Welcome To GFG</title>
</head>
<body>
<h2>GeeksforGeeks</h2>
<p>This is the zxc <img> tag.</p>
<img src=
alt="GFG image" />
</body>
</html>
{% elseif (PlanCode = abc@gmail.com) %}
<!DOCTYPE html>
<html>
<head>
<title>Welcome To GFG</title>
</head>
<body>
<h2>GeeksforGeeks</h2>
<p>This is abc <img> tag.</p>
<img src=
alt="GFG image" />
</body>
</html>
{%else%}
<!DOCTYPE html>
<html>
<head>
<title>Welcome To GFG</title>
</head>
<body>
<h2>GeeksforGeeks</h2>
<p>This is the demo of <img> tag.</p>
<img src=
alt="GFG image" />
</body>
</html>
{%/if%}
"