 && removeGroup && addGroup === removeGroup) {
            alert("You cannot select the same group for both adding and removing.");
            $(this).val('');
        }
    });
});
</script>
{% endblock %}
