Change default checkbox value

Hi if u check this

u see i have checkbox that is set as data name “invoice_checked” but i see always as defaultValue = on i need that when checkbox is NOT checked the default value is off and when checked in on
i have put default value = off in funnelish edit page value to off but is always on
Can you help me please

Hi @Jackseeker,
It seems you are trying to have the checkbox checked by default.
To do that, please go to custom codes > custom JS (Body) and paste the following:

document.querySelector('input[data-name="invoice_checked"]').checked = true;

Hi thx 4 your reply, i don’t need that it is default checked but i need to have the value = to off when non checked
The defaultValue it aways = to on but i need off not checked on when is checked