# If condition fails

**URL:** <https://community.weweb.io/t/if-condition-fails/1753>\
**Category:** How do I?\
**Created:** [January 24, 2023, 12:44pm UTC](https://community.weweb.io/t/if-condition-fails/1753 "2023-01-24T12:44:34Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)\
**Post date:** [January 24, 2023, 3:45pm UTC](https://community.weweb.io/t/if-condition-fails/1753/5 "2023-01-24T15:45:02Z")

</div>

> [@Fritters](#):
>
> But How can I do it with real if else statement?

Switch to “javascript” mode so you can use a if/else statement.  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/9/948ee2ab68ba83b2e6be578f6050eaa56bc119fd.png)

---

_[View the full topic](https://community.weweb.io/t/if-condition-fails/1753)._
