Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @funkydmtl,

    Why not use radio buttons instead checkboxes if you want emulate radio buttons?

    A possibility would be insert a “HTML Content” field in the form with a piece of code similar to the following one as its content:

    <script>jQuery(document).on('change', '[type="checkbox"]', function () {
    	var e = jQuery(this),
    	i = e.attr('id');
    	if (e.is(':checked'))
    	{
    		jQuery('[id="' + i + '"]').prop('checked', false);
    		e.prop('checked', true);
    	}	
    });
    </script>

    I’m sorry, but this modifications are not related with the plugin, it is pure javascript, if you need additional help you should request a custom coding service through my private website:

    https://cff.dwbooster.com/customization

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Make checkboxes exclusive like radio buttons’ is closed to new replies.