Custom Switch not passing a value when checked or unchecked

Probably doing something wrong but I have x3 Custom Switches and non of them are passing a vaule

input class=“custom-control-input” type=“checkbox” id=“inp_cat_b” name=“cat_b” dmx-bind:value=“1”

Any ideas?

Hello Peter,
You haven’t set a static value for your switch.
The static value is what gets passed on form submit.

Values of check boxes are submitted only when they are checked.
So even if you have set value for the check boxes, if they are not checked, form data will not include it.