# Unable undo checkbox

**URL:** <https://community.silverfin.com/t/unable-undo-checkbox/1525>\
**Category:** Templates\
**Created:** [July 15, 2019, 10:16am UTC](https://community.silverfin.com/t/unable-undo-checkbox/1525 "2019-07-15T10:16:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomVDW](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/tomvdw/32/1261_2.png) [@TomVDW](https://community.silverfin.com/u/TomVDW)\
**Post date:** [July 15, 2019, 10:16am UTC](https://community.silverfin.com/t/unable-undo-checkbox/1525/1 "2019-07-15T10:16:13Z")

</div>

Is there a possibility to unable undoing/unchecking a checkbox or a number of checkboxes?  
For example, one of our co-workers has to fill in a checklist.  
After he’s ready, the partner/reviewer has to review this checklist and will mark a checkbox called “Review on”. On this moment, the co-worker just can undo the partner/reviewer his check or other, already reviewed, checks afterwards.

Is it possible that after the partner/reviewer has clicked on his checkbox, he is the only person that can make changes afterwards?

---

<div class="post-metadata">

**Author:** ![Sofie\_Cleemput](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sofie_cleemput/32/709_2.png) [@Sofie\_Cleemput](https://community.silverfin.com/u/Sofie_Cleemput)\
**Post date:** [July 15, 2019, 10:38am UTC](https://community.silverfin.com/t/unable-undo-checkbox/1525/2 "2019-07-15T10:38:35Z")

</div>

Hi Tom,

you could build in some logic, that if a checkbox has been checked, the value of the checkbox is assigned to true. This prevents the checkbox to be unchecked afterwards.

Also, this topic can be handy to show some additional information about when and who did the review :

> [@CASE: make header with additional info in a recon template](https://community.silverfin.com/t/case-make-header-with-additional-info-in-a-recon-template/861):
>
> Within a recon template, you can make a beautiful header with contains some additional info that might come in handy for the user(s) that need to use the recon template. It could also be used to distinguish your custom templates from others as well. An example: In order to achieve this, you need to create your table first (to make the code more readable, we’ll try to put the code between stripnewlines as much as possible - see more info [here](https://community.silverfin.com/t/case-make-your-code-readable-with-stripnewlines-and-newline/366) ). {% comment %} Below code gives a header…

I hope this answered your question, if not, you can paste your code here, so we can take a further look at it.

Kind regards  
Sofie

---

<div class="post-metadata">

**Author:** ![TomVDW](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/tomvdw/32/1261_2.png) [@TomVDW](https://community.silverfin.com/u/TomVDW)\
**Post date:** [July 15, 2019, 11:59am UTC](https://community.silverfin.com/t/unable-undo-checkbox/1525/3 "2019-07-15T11:59:20Z")

</div>

Ok thanks for your reply.  
I tried it and that works now.  
Only thing that I have to solve is that only the reviewer can uncheck his checkbox and not an other user. Is that possible?

---

<div class="post-metadata">

**Author:** ![Sofie\_Cleemput](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/sofie_cleemput/32/709_2.png) [@Sofie\_Cleemput](https://community.silverfin.com/u/Sofie_Cleemput)\
**Post date:** [July 16, 2019, 10:13am UTC](https://community.silverfin.com/t/unable-undo-checkbox/1525/4 "2019-07-16T10:13:07Z")

</div>

Hi Tom,

you can use the following code to restrict options to specific users :

`{% if user.email =="XXXXXX@XXXXXXX" %}{% input custom.some.thing as:boolean%} {% else %} {% endif %}`

I hope this one helps you out.

Kind regards  
Sofie

---

<div class="post-metadata">

**Author:** ![TomVDW](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/tomvdw/32/1261_2.png) [@TomVDW](https://community.silverfin.com/u/TomVDW)\
**Post date:** [July 16, 2019, 12:34pm UTC](https://community.silverfin.com/t/unable-undo-checkbox/1525/5 "2019-07-16T12:34:50Z")

</div>

Hi Sofie,

Thanks a lot, that was very helpful!

Kind regards,  
Tom
