1👍
✅
I’m not entirely convinced I I fully understand what you want. But if you want to append the value of #id_email
with the value of the checkbox checked, you can use:
$('#id_testrever input:checkbox').on('change', function() {
if(this.checked) {
const element = $('#id_email');
element.val(element.val() + this.value);
}
});
Source:stackexchange.com