# Hide edit button based on rules

**URL:** <https://forums.knack.com/t/hide-edit-button-based-on-rules/15453>\
**Category:** Get Answers\
**Created:** [January 3, 2024, 10:22am UTC](https://forums.knack.com/t/hide-edit-button-based-on-rules/15453 "2024-01-03T10:22:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lesley](https://avatars.discourse-cdn.com/v4/letter/l/a183cd/32.png) [@Lesley](https://forums.knack.com/u/Lesley)\
**Post date:** [January 3, 2024, 10:22am UTC](https://forums.knack.com/t/hide-edit-button-based-on-rules/15453/1 "2024-01-03T10:22:54Z")

</div>

Hello!  
I have a details view which includes an edit button, linking to a form of course. I would like to be able to show or hide this based on the value of a field, in the same way I can with other action buttons. Is this doable? I tried using the link to another page action, but this doesnt have the rules options either ☹

Many thanks  
LesleyB 🙂

---

<div class="post-metadata">

**Author:** ![CarlHolmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/carlholmes/32/2814_2.png) [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Post date:** [January 3, 2024, 7:54pm UTC](https://forums.knack.com/t/hide-edit-button-based-on-rules/15453/2 "2024-01-03T19:54:36Z")

</div>

Hi @Lesley - not sure if this will help:

---

<div class="post-metadata">

**Author:** ![Lesley](https://avatars.discourse-cdn.com/v4/letter/l/a183cd/32.png) [@Lesley](https://forums.knack.com/u/Lesley)\
**Post date:** [January 4, 2024, 8:44am UTC](https://forums.knack.com/t/hide-edit-button-based-on-rules/15453/3 "2024-01-04T08:44:08Z")

</div>

Brilliant, excellently demonstrated and explained @CarlHolmes! I’ll have to do a bit of a redesign as my edit button is currently in the middle of a screen full of info, but definitely doable.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/knack/original/2X/2/2362c87810223662a88795742686322a8b525f8f.png) (all tat info is in a single view)

Once again I am in your debt! 😍

---

<div class="post-metadata">

**Author:** ![CarlHolmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/carlholmes/32/2814_2.png) [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Post date:** [January 4, 2024, 1:47pm UTC](https://forums.knack.com/t/hide-edit-button-based-on-rules/15453/4 "2024-01-04T13:47:02Z")

</div>

Hi @Lesley - I’m glad the short video made sense and helped you. I appreciate you circling back to let me know. 🙏
