Hi,
Not sure what I am doing wrong. I have a single checkbox, and when checked it goes to a particular URL and when you uncheck it then it’s suppose to go to another URL (just a different parameter value).
Checking the checkbox works fine and it goes to the set URL, but once I check the checkbox I am unable to uncheck it.
<form id="form_clean_toggle">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="input_toggle_cl" name="input_toggle_cl" dmx-on:changed="browser1.goto('search_results_test5.php?'+form_clean_toggle.input_toggle_cl.value)" value="cl=1" dmx-bind:checked="(query.cl == 1)">
<label class="form-check-label small text-success" for="input_toggle_cl">Clean <i class="fab fa-bootstrap"></i></label>
</div>
</form>
Community Page
Last updated:
Last updated: