
			<script type="text/javascript">
			jQuery(document).ready(function($) {
				$.fn.checkboxLimit = function(n) {

					var checkboxes = this;

					this.toggleDisable = function() {

						// if we have reached or exceeded the limit, disable all other checkboxes
						if(this.filter(':checked').length >= n) {
							var unchecked = this.not(':checked');
							unchecked.prop('disabled', true);
						}
						// if we are below the limit, make sure all checkboxes are available
						else {
							this.prop('disabled', false);
						}

					}

					// when form is rendered, toggle disable
					checkboxes.bind('gform_post_render', checkboxes.toggleDisable());

					// when checkbox is clicked, toggle disable
					checkboxes.click(function(event) {

						checkboxes.toggleDisable();

						// if we are equal to or below the limit, the field should be checked
						return checkboxes.filter(':checked').length <= n;
					});

				}
			});
			</script>

			{"id":13812,"date":"2025-10-02T16:57:10","date_gmt":"2025-10-02T14:57:10","guid":{"rendered":"https:\/\/janvaneyck.nl\/apply\/?page_id=13812"},"modified":"2025-10-02T16:57:10","modified_gmt":"2025-10-02T14:57:10","slug":"applications-2027","status":"publish","type":"page","link":"https:\/\/janvaneyck.nl\/apply\/applications-2027\/","title":{"rendered":"Applications 2027"},"content":{"rendered":"\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-13812","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/janvaneyck.nl\/apply\/wp-json\/wp\/v2\/pages\/13812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/janvaneyck.nl\/apply\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/janvaneyck.nl\/apply\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/janvaneyck.nl\/apply\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/janvaneyck.nl\/apply\/wp-json\/wp\/v2\/comments?post=13812"}],"version-history":[{"count":2,"href":"https:\/\/janvaneyck.nl\/apply\/wp-json\/wp\/v2\/pages\/13812\/revisions"}],"predecessor-version":[{"id":13814,"href":"https:\/\/janvaneyck.nl\/apply\/wp-json\/wp\/v2\/pages\/13812\/revisions\/13814"}],"wp:attachment":[{"href":"https:\/\/janvaneyck.nl\/apply\/wp-json\/wp\/v2\/media?parent=13812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}