# How to disable an object in an dataviewer list if a certain date is reached?

**URL:** <https://community.thunkable.com/t/how-to-disable-an-object-in-an-dataviewer-list-if-a-certain-date-is-reached/1227899>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [April 16, 2021, 12:47pm UTC](https://community.thunkable.com/t/how-to-disable-an-object-in-an-dataviewer-list-if-a-certain-date-is-reached/1227899 "2021-04-16T12:47:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pathcreator](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pathcreator/32/108299_2.png) [@pathcreator](https://community.thunkable.com/u/pathcreator)\
**Post date:** [April 16, 2021, 12:47pm UTC](https://community.thunkable.com/t/how-to-disable-an-object-in-an-dataviewer-list-if-a-certain-date-is-reached/1227899/1 "2021-04-16T12:47:44Z")

</div>

Hi all,

I have a small doubt, how do I disable an object in a dataviewer list if a certain date is achieved  
(I want to add some if conditions as well) and how do I move the disabled object to another screen?

Can someone pls give me a solution?

For Example: If the user enters the date “12.5.2021” and if my if condition is not fulfilled disable it  
(and move it to another screen) and show a message…

For more information, I’ll give a screenshot of my code…and my screen…

 ![Screenshot (131)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/4/7434463123335101cc5f1ffe0ffc8c3a837871c8.png)

 ![Screenshot (132)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/0/4075029d0f43842cf9ae776107e7d460ba987797.png)

Actually, the date is entered in another screen using a date input.  
If you need any more screenshots or details to answer my question, pls feel free to ask me…

Thx in advance and pls give me an solution asap.

---

<div class="post-metadata">

**Author:** ![pathcreator](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pathcreator/32/108299_2.png) [@pathcreator](https://community.thunkable.com/u/pathcreator)\
**Post date:** [April 16, 2021, 4:23pm UTC](https://community.thunkable.com/t/how-to-disable-an-object-in-an-dataviewer-list-if-a-certain-date-is-reached/1227899/2 "2021-04-16T16:23:09Z")

</div>

Someone?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 16, 2021, 4:32pm UTC](https://community.thunkable.com/t/how-to-disable-an-object-in-an-dataviewer-list-if-a-certain-date-is-reached/1227899/3 "2021-04-16T16:32:14Z")

</div>

Your issue is not described clearly and the code presented does not reflect any thing close to what you are trying to do.

You are asking the user to enter/pick a date in screenX then you go to screenY which has a DVL (Data Viewer List) and you want to “gray out” the entry that matches the date entered/selected.

Is this correct?

---

<div class="post-metadata">

**Author:** ![pathcreator](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pathcreator/32/108299_2.png) [@pathcreator](https://community.thunkable.com/u/pathcreator)\
**Post date:** [April 16, 2021, 5:58pm UTC](https://community.thunkable.com/t/how-to-disable-an-object-in-an-dataviewer-list-if-a-certain-date-is-reached/1227899/4 "2021-04-16T17:58:54Z")

</div>

> [@muneer](#):
>
> Your issue is not described clearly and the code presented does not reflect any thing close to what you are trying to do.

I’m really sorry for the inconvenience, I really didn’t know how to express my idea properly.

> [@muneer](#):
>
> You are asking the user to enter/pick a date in screenX then you go to screenY which has a DVL (Data Viewer List) and you want to “gray out” the entry that matches the date entered/selected.
> 
> Is this correct?

@muneer Yes, you are correct, exactly what I want to do. Do you know how to do it? If yes, please give me a hand…I’m new to thunkable and need help, I’m having a hard time figuring it out…Any help will really be appreciated. (If it is a screenshot of the solved code, it will be good…) Cause I need to submit this project by 17th April,12 pm.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [April 17, 2021, 2:58pm UTC](https://community.thunkable.com/t/how-to-disable-an-object-in-an-dataviewer-list-if-a-certain-date-is-reached/1227899/5 "2021-04-17T14:58:54Z")

</div>

Check this and see if it is what you try to implement

[https://x.thunkable.com/projectPage/607aebd83112de0012cd093c](https://x.thunkable.com/projectPage/607aebd83112de0012cd093c)

---

<div class="post-metadata">

**Author:** ![pathcreator](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pathcreator/32/108299_2.png) [@pathcreator](https://community.thunkable.com/u/pathcreator)\
**Post date:** [April 18, 2021, 5:55am UTC](https://community.thunkable.com/t/how-to-disable-an-object-in-an-dataviewer-list-if-a-certain-date-is-reached/1227899/6 "2021-04-18T05:55:43Z")

</div>

> [@muneer](#):
>
> [Thunkable](https://x.thunkable.com/projectPage/607aebd83112de0012cd093c)

Ok, thank you very much. I’ll try doing this.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:25pm UTC](https://community.thunkable.com/t/how-to-disable-an-object-in-an-dataviewer-list-if-a-certain-date-is-reached/1227899/7 "2024-11-08T13:25:10Z")

</div>


