# Action happens only when \*current plan item\* has property

**URL:** <https://forum.adalo.com/t/action-happens-only-when-current-plan-item-has-property/7232>\
**Category:** Get Help\
**Created:** [December 21, 2020, 4:15pm UTC](https://forum.adalo.com/t/action-happens-only-when-current-plan-item-has-property/7232 "2020-12-21T16:15:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![raquelmsmith](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/raquelmsmith/32/4652_2.png) [@raquelmsmith](https://forum.adalo.com/u/raquelmsmith)\
**Post date:** [December 21, 2020, 4:15pm UTC](https://forum.adalo.com/t/action-happens-only-when-current-plan-item-has-property/7232/1 "2020-12-21T16:15:23Z")

</div>

In my app I have:

- Plan (collection)
  - Plan Item (collection, with a many Plan Items to one Plan relationship)
    - Link (property of Plan Item)

I’m showing Plan Items in a list. If it has a link property set, I want it to link off to another page. If not, I don’t want it to be clickable.

However, in the “Action” settings, under “When does this happen?” set to “Sometimes,” I don’t have an option to filter based on the Current Plan Item.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/f/f3463a40615a412bf4c352cfbeada643728325cd.png)

Options:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/d/d128646375c2e401c3db70f1b93e0966b3b152da.png)

Am I missing something? How do I do this?

Thanks!!

---

<div class="post-metadata">

**Author:** ![Asyncscrum](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/asyncscrum/32/3674_2.png) [@Asyncscrum](https://forum.adalo.com/u/Asyncscrum)\
**Post date:** [December 22, 2020, 5:57am UTC](https://forum.adalo.com/t/action-happens-only-when-current-plan-item-has-property/7232/2 "2020-12-22T05:57:38Z")

</div>

Not sure I fully get it but there’s often many ways to fork behavior. On the button properties there’s visibility settings. Does it allow you to only show the button if that property is met?

 ![Screenshot_20201222-005547_Chrome](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/8/8129452866e4be5f264e2b2237be8922e7a4c873.jpeg)

---

<div class="post-metadata">

**Author:** ![raquelmsmith](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/raquelmsmith/32/4652_2.png) [@raquelmsmith](https://forum.adalo.com/u/raquelmsmith)\
**Post date:** [December 22, 2020, 7:38pm UTC](https://forum.adalo.com/t/action-happens-only-when-current-plan-item-has-property/7232/3 "2020-12-22T19:38:30Z")

</div>

There’s no button that takes someone to the screen, they click on the current list item itself.

---

<div class="post-metadata">

**Author:** ![Asyncscrum](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/asyncscrum/32/3674_2.png) [@Asyncscrum](https://forum.adalo.com/u/Asyncscrum)\
**Post date:** [December 23, 2020, 3:45am UTC](https://forum.adalo.com/t/action-happens-only-when-current-plan-item-has-property/7232/4 "2020-12-23T03:45:09Z")

</div>

Can you post a screenshot of the list page highlighting the element you’re trying to have conditions on?

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [December 23, 2020, 9:46am UTC](https://forum.adalo.com/t/action-happens-only-when-current-plan-item-has-property/7232/5 "2020-12-23T09:46:48Z")

</div>

Hi @raquelmsmith,

I think I get what’s the problem here.  
It seems that when you try to add the conditional action _to the list itself_, it can’t get the info from _inside_ the list (i.e. from list items). That’s why you don’t see the “Current Plan Item” as an option.

Instead of adding an action to the list, try adding an action to list components (button, or you can create a group of all list components and add an action to it). Then you should be able to see “Current Plan Item” option.

Hope this helps.

Best,  
Victor

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [January 2, 2021, 9:46am UTC](https://forum.adalo.com/t/action-happens-only-when-current-plan-item-has-property/7232/6 "2021-01-02T09:46:59Z")

</div>

Closed on January 2, 2021, 9:46am UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
