# To lock all the ui tab using keypad tab

**URL:** <https://discourse.nodered.org/t/to-lock-all-the-ui-tab-using-keypad-tab/29473>\
**Category:** Dashboard\
**Created:** [4 July 2020 01:19 UTC](https://discourse.nodered.org/t/to-lock-all-the-ui-tab-using-keypad-tab/29473 "2020-07-04T01:19:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhavesh](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@Bhavesh](https://discourse.nodered.org/u/Bhavesh)\
**Post date:** [4 July 2020 01:19 UTC](https://discourse.nodered.org/t/to-lock-all-the-ui-tab-using-keypad-tab/29473/1 "2020-07-04T01:19:04Z")

</div>

Hello everyone,

I am new to node red. I have made 3 ui tabs using node red. I want to lock two ui dashboard tabs using keypad lock. when I enter my 4 digit pin in to the keypad that should redirect me to my other tabs else it should be locked.

thanks in advance.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/e/4edda786952ff80104b042047235be658c4a1eb8.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/d/0d7e05323eb79bed4fd14921c8a817f2deaea131.png)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [4 July 2020 08:02 UTC](https://discourse.nodered.org/t/to-lock-all-the-ui-tab-using-keypad-tab/29473/2 "2020-07-04T08:02:47Z")

</div>

Hi & welcome to the forum.

which part are you stuck on?

- collecting the inputs?
- checking the input against a stored code?
- redirecting user?

Perhaps if you share your flows we can spot an issue?

---

<div class="post-metadata">

**Author:** ![Bhavesh](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@Bhavesh](https://discourse.nodered.org/u/Bhavesh)\
**Post date:** [4 July 2020 19:30 UTC](https://discourse.nodered.org/t/to-lock-all-the-ui-tab-using-keypad-tab/29473/3 "2020-07-04T19:30:23Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/5/c5a593dbdda52e927b5b25cd2dc9c2627a35b34e.png)

These are the node that i got for keypad lock. if pin\_ok works that should redirect me to the one of the tab that i have created. otherwise those two tab should be locked and not accessible.

is that possible?

Thanks and regards.

Bhavesh Solanki

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 August 2020 19:31 UTC](https://discourse.nodered.org/t/to-lock-all-the-ui-tab-using-keypad-tab/29473/4 "2020-08-03T19:31:17Z")

</div>

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