# Disable "repeat" checkbox on calender entries

**URL:** <https://forums.knack.com/t/disable-repeat-checkbox-on-calender-entries/10260>\
**Category:** API & Custom Code\
**Created:** [July 1, 2015, 12:19am UTC](https://forums.knack.com/t/disable-repeat-checkbox-on-calender-entries/10260 "2015-07-01T00:19:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BartvanBeu70192](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@BartvanBeu70192](https://forums.knack.com/u/BartvanBeu70192)\
**Post date:** [July 1, 2015, 12:19am UTC](https://forums.knack.com/t/disable-repeat-checkbox-on-calender-entries/10260/1 "2015-07-01T00:19:41Z")

</div>

To disable the "repeat" checkbox when using the calendar, use following code:

```
// disable repeat checkbox 
$(document).on("knack-page-render.any", function(event, view) {
	$("input[type=checkbox]").attr("disabled", "disabled"); 	
})
```

&nbsp;Cheers

---

<div class="post-metadata">

**Author:** ![Kat](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/kat/32/2834_2.png) [@Kat](https://forums.knack.com/u/Kat)\
**Post date:** [July 26, 2016, 3:01pm UTC](https://forums.knack.com/t/disable-repeat-checkbox-on-calender-entries/10260/2 "2016-07-26T15:01:51Z")

</div>

Hi folks,

We now have a code snippet which will hide the "Repeat" checkbox in our JS examples article! Take a look here, and let me know if you have any questions!

[http://helpdesk.knackhq.com/support/solutions/articles/5000447560-javascript-code-examples#hide-repeat](http://helpdesk.knackhq.com/support/solutions/articles/5000447560-javascript-code-examples#hide-repeat)

---

<div class="post-metadata">

**Author:** ![JohnG](https://avatars.discourse-cdn.com/v4/letter/j/f4b2a3/32.png) [@JohnG](https://forums.knack.com/u/JohnG)\
**Post date:** [February 11, 2016, 12:04am UTC](https://forums.knack.com/t/disable-repeat-checkbox-on-calender-entries/10260/3 "2016-02-11T00:04:15Z")

</div>

Hi, I just found this, not being a coder myself either, I pasted the above code into the JavaScript box as is but all the "Repeat" check boxes are still showing on input and amend screens for calendar's. I then amended to :

// disable repeat checkbox

$(document).on("knack-page-render.scene\_605", function(event, view) {

&nbsp;&nbsp;&nbsp;&nbsp;$("input[type=checkbox]").attr("disabled", "disabled");&nbsp;&nbsp;&nbsp;&nbsp;

})

and the checkbox in that scene is still showing!

Clasping at straws here, anybody else got this working? &nbsp;Am I missing something?

---

<div class="post-metadata">

**Author:** ![BennetSt.L83204](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@BennetSt.L83204](https://forums.knack.com/u/BennetSt.L83204)\
**Post date:** [December 15, 2015, 4:56pm UTC](https://forums.knack.com/t/disable-repeat-checkbox-on-calender-entries/10260/4 "2015-12-15T16:56:01Z")

</div>

Kait -

Need to put this in JavaScript, not CSS.

Also side note - the above code will disable ANY checkmark box in your app. Change the "any" in&nbsp;"knack-page-render.any" to .scene\_# to only disable it on one specific scene,

---

<div class="post-metadata">

**Author:** ![KaitMiller25976](https://avatars.discourse-cdn.com/v4/letter/k/e5b9ba/32.png) [@KaitMiller25976](https://forums.knack.com/u/KaitMiller25976)\
**Post date:** [December 11, 2015, 6:14pm UTC](https://forums.knack.com/t/disable-repeat-checkbox-on-calender-entries/10260/5 "2015-12-11T18:14:04Z")

</div>

Hi there,

I know very little about coding. I pasted what you suggested above in the CSS box under API & Code for my app, but it didn't work.

Can you help?
