Disable "repeat" checkbox on calender entries

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"); 	


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!


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) {

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


and the checkbox in that scene is still showing!

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

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 "knack-page-render.any" to .scene_# to only disable it on one specific scene,

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?