# Making a question as READ-ONLY based on certain criteria

**URL:** <https://forum.getodk.org/t/making-a-question-as-read-only-based-on-certain-criteria/38136>\
**Category:** Support\
**Tags:** form-design\
**Created:** [June 29, 2022, 2:37pm UTC](https://forum.getodk.org/t/making-a-question-as-read-only-based-on-certain-criteria/38136 "2022-06-29T14:37:38Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Qollins\_Ochieng](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/qollins_ochieng/32/19298_2.png) [@Qollins\_Ochieng](https://forum.getodk.org/u/Qollins_Ochieng)\
**Post date:** [November 30, 2022, 9:33pm UTC](https://forum.getodk.org/t/making-a-question-as-read-only-based-on-certain-criteria/38136/9 "2022-11-30T21:33:09Z")

</div>

Thanks for attempting, we hope to get there:

Have you tried to do under calculate for the question, put this condition so that it preloads a YES, in addition to the condition I gave earlier, for the readonly question.  
if(${question1}='yes',"Yes","No"))

Note: Ensure that the Values for Yes/No are the values in the choices sheet under name of the list group. Hope this works  
Thanks,

---

_[View the full topic](https://forum.getodk.org/t/making-a-question-as-read-only-based-on-certain-criteria/38136)._
