# Remove 'if' conditional without removing entire action sequence

**URL:** <https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593>\
**Category:** Ask for Help\
**Created:** [December 9, 2020, 3:06am UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593 "2020-12-09T03:06:05Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 9, 2020, 3:06am UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/1 "2020-12-09T03:06:05Z")

</div>

Sometimes I find that I have an action sequence that begins with a conditional statement (if-else), and then later I decide that I no longer need it. Problem is, if I delete the conditional then the whole sequence below it also gets blown away. This behaviour probably makes sense for any ‘else’ branches in the sequence - as deleting the conditional leaves everything below it orphaned.

But in the case of the root node of the action, it should be possible to delete the ‘if’ conditional whilst leaving the action sequence below it intact.

Anyone else relate to this?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 9, 2020, 3:10am UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/2 "2020-12-09T03:10:17Z")

</div>

+1.

---

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 9, 2020, 4:29am UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/3 "2020-12-09T04:29:53Z")

</div>

I agree with you on this but if the “if” doesn’t matter just leave it or change it to something thats always true to prevent the extra work.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 9, 2020, 4:31am UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/4 "2020-12-09T04:31:30Z")

</div>

yeah, that’s what I’ve been doing (but it’s a hacky workaround)

---

<div class="post-metadata">

**Author:** ![Drearystate](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/drearystate/32/49605_2.png) [@Drearystate](https://community.glideapps.com/u/Drearystate)\
**Post date:** [December 9, 2020, 5:02am UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/5 "2020-12-09T05:02:29Z")

</div>

true,but it’s all we got ☹

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 9, 2020, 7:41am UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/6 "2020-12-09T07:41:25Z")

</div>

Rather than deleting the IF, remove the condition inside of the IF and it will go away without destroying the following actions.

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/6/267a1bd489168582b6383e3855ae288077046775.png)

You can also drag and drop actions, so first make sure all actions you want to keep are part of the primary IF and the other ELSEIF and ELSE conditions have been removed.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 9, 2020, 7:52am UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/7 "2020-12-09T07:52:50Z")

</div>

oh dear… excuse me whilst I find a hole to crawl into 🤪

(thanks!)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 9, 2020, 12:55pm UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/8 "2020-12-09T12:55:22Z")

</div>

Specifically about the drag & drop, does anyone experience a situation where you have too many ifs and the screen is not big enough to display them all? I don’t think there’s a horizontal scrolling option.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 9, 2020, 1:00pm UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/9 "2020-12-09T13:00:22Z")

</div>

Not exactly that, but I’ve encountered several situations in the data editor where edit boxes or other components “escape” outside the boundaries of my screen. My goto workaround is to go full screen and then zoom out (‘CMD -’ on a Mac) as much as is necessary.

---

<div class="post-metadata">

**Author:** ![Gerard\_Fernandez](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gerard_fernandez/32/1183_2.png) [@Gerard\_Fernandez](https://community.glideapps.com/u/Gerard_Fernandez)\
**Post date:** [December 9, 2020, 1:28pm UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/10 "2020-12-09T13:28:57Z")

</div>

Yes. There is horizontal scrolling. Windows

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 9, 2020, 1:45pm UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/11 "2020-12-09T13:45:40Z")

</div>

Do you have horizontal scrolling on Mac? I’m on Chrome - Mac, might have to check again.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 9, 2020, 1:49pm UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/12 "2020-12-09T13:49:37Z")

</div>

Actually yes, in the action builder 2 finger horizontal scrolling works using the touchpad.  
Same, Chrome on Mac

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 9, 2020, 1:50pm UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/13 "2020-12-09T13:50:26Z")

</div>

Thanks a lot Darren, I’ll try tomorrow. I disabled the touchpad a long time ago as it caused some errors on my old Mac haha.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [December 9, 2020, 1:52pm UTC](https://community.glideapps.com/t/remove-if-conditional-without-removing-entire-action-sequence/19593/14 "2020-12-09T13:52:42Z")

</div>

haha, I’ve always been a mouse guy. But mine died a month or so ago and I couldn’t be bothered buying a new one. So I’ve been forcing myself to learn how use the touchpad 😀
