# Can a toggle be locked after it’s been checked?

**URL:** <https://forum.adalo.com/t/can-a-toggle-be-locked-after-it-s-been-checked/28715>\
**Category:** Get Help\
**Created:** [June 26, 2022, 3:52am UTC](https://forum.adalo.com/t/can-a-toggle-be-locked-after-it-s-been-checked/28715 "2022-06-26T03:52:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MikesClub](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/mikesclub/32/12754_2.png) [@MikesClub](https://forum.adalo.com/u/MikesClub)\
**Post date:** [June 26, 2022, 3:52am UTC](https://forum.adalo.com/t/can-a-toggle-be-locked-after-it-s-been-checked/28715/1 "2022-06-26T03:52:08Z")

</div>

I use toggles to track whether a borrowed item has been returned. Among other things, checking the toggle also records the date an item was returned.

Once the toggle has been checked, I need it to be not possible to uncheck it.

Can this be done?

I know I can use visibility rules and a fake checkbox icon, but I also have several other visibility conditions on this screen, so I’m wondering if there’s a way to do it with a setting.

---

<div class="post-metadata">

**Author:** ![Hanan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/hanan/32/15410_2.png) [@Hanan](https://forum.adalo.com/u/Hanan)\
**Post date:** [June 26, 2022, 8:16am UTC](https://forum.adalo.com/t/can-a-toggle-be-locked-after-it-s-been-checked/28715/2 "2022-06-26T08:16:41Z")

</div>

there is no way that I know of to stop a toggle being clicked unless you cover it with something. I know you don’t want another visibility rule but it is very easy to cover the checkbox with a transparent rectangle that is only visible when the item’s **returned?** is checked. 🤷‍♀️

---

<div class="post-metadata">

**Author:** ![MikesClub](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/mikesclub/32/12754_2.png) [@MikesClub](https://forum.adalo.com/u/MikesClub)\
**Post date:** [June 26, 2022, 6:16pm UTC](https://forum.adalo.com/t/can-a-toggle-be-locked-after-it-s-been-checked/28715/3 "2022-06-26T18:16:55Z")

</div>

That’s a clever idea. Thank you.

---

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [June 27, 2022, 8:20am UTC](https://forum.adalo.com/t/can-a-toggle-be-locked-after-it-s-been-checked/28715/4 "2022-06-27T08:20:49Z")

</div>

Addition to the @Hanan’s great idea!

Or maybe something like this? : [toggle with a update action.mp4 - Google Drive](https://drive.google.com/file/d/130O8CUVOecMmCzykASLqUEM2UHiJV1KG/view?usp=sharing)

Another way is to build a custom toggle with two icons : [custom toggle.mp4 - Google Drive](https://drive.google.com/file/d/164UNeTrOZE2UYnvK1ug5Mc8w9YuiD5w2/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![m-mrh](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@m-mrh](https://forum.adalo.com/u/m-mrh)\
**Post date:** [June 27, 2022, 10:44am UTC](https://forum.adalo.com/t/can-a-toggle-be-locked-after-it-s-been-checked/28715/5 "2022-06-27T10:44:31Z")

</div>

I usually use what @Hanan proposed! But if you’re facing a problem with loading all visibility conditions on one screen, check this preloader component created by PargmaFlow

> [@Make your App faster with this simple component!](https://forum.adalo.com/t/make-your-app-faster-with-this-simple-component/19609):
>
> Hi All, New component coming to you. This one should speed your Adalo apps significantly and is simple to use. Depending on the size of you app this might have some drawbacks, but I think 99% of Adalo apps and PWAs will get a great speed boost from this little component. Video here: [[Make your Adalo app faster by preloading the data you need] ](https://www.youtube.com/watch?v=8MhwmePZXRE) GitHub: Installer: [https://adalo.pragmaflowservers.com/install-component](https://adalo.pragmaflowservers.com/install-component)

It will make your app so much faster!

---

<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:** [July 7, 2022, 10:45am UTC](https://forum.adalo.com/t/can-a-toggle-be-locked-after-it-s-been-checked/28715/6 "2022-07-07T10:45:03Z")

</div>

Closed on July 7, 2022, 10:45am UTC

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