Hello @attesz98
I’m not sure what do you mean by “delete or two”. If you are talking about unticking specifics checkboxes you must use your own code and not a reset button. The reset button runs the reset method of the form object.
For example, assuming you have the checkbox field fieldname3, and you want to untick the first and second choices, the code to run could be:
From the onclick event of a button:
jQuery('[id*="fieldname3_"]:eq(0),[id*="fieldname3_"]:eq(1)').prop('checked', false).change();
From an equation:
getField(3).jQueryRef().find('[input]:eq(0),[input]:eq(0)').prop('checked', false).change();
Best regards.
I have several fields, one checkbox, one dropdown and radio button field.
I don’t want to delete at once, just one, for example (checkbox).
Currently, if I delete it, it will do all of them.
Hello @attesz98
As I said previously, the buttons with the “reset” option as their types, run the reset method of the form object. If you want to untick every choice in the checkbox field fieldname3. Insert a button in the form with the “button” option as its type, and enter the following piece of code as its onclick event:
jQuery('[id*="fieldname3_"]').prop('checked', false).change();
Best regards.