How Do I Dynamically Uncheck a Checkbox?

I’d like an event in my code to uncheck a checkbox…

… so like with any other input I can say

some_text_input.setValue(1);

Then I want to say:

some_checkbox.setValue(unchecked);

How do I do this? Wappler just gives me the option to specify a value but I don’t know what value to put!

Hello Anthony!

You can use Jquery, including it on the “click” static event:

$('#myCheckbox').prop('checked', true); // Checks it
$('#myCheckbox').prop('checked', false); // Unchecks it

Hope it helps!

Hi Antony,
Please check: