How to check if all checkboxes are empty?

Giving a little bit of context:

I’m building this form, and I’d like to be able to check if every field is empty so that the “save” button is unclickable if so. Among the fields, as you can see below, there are some checkboxes

I don’t know if it’s the best, but the way I’m doing this is by using a hidden variable of type “yes/no” that becomes “yes” if every field is empty. However, my question is, how do I do that for the checkboxes? I’m unable to add an “and” (I need to check other fields) to the dynamic expression by using “:each item is empty”, so it must be something else.


I suggest you change a little bit the structures of your checkbox section:

  1. List checkbox labels in an option set
  2. Use a repeating group to call all options from this option set. Put a group row with an icon checkbox empty and the text current option display
  3. Create a custom state “tipo de contato” of type list of [the option set] you created in step 1. When current cell of the repeating group is in the custom state then change the icon of the checkbox empty to checkbox checked.
  4. Create the workflow when a checkbox is clicked, set state of tipo de contato add current cell tipo de contato (parent’s group if the workflow is on the checkbox not directly on the cell) if custom state tipo de contato doesn’t contain this tipo de contato
  5. Create another one that remove the tipo de contato from the custom state
  6. To check if no checkboxes are checked, check the condition custom state tipo de contato count is 0
  7. When saving the data just retrieve all the tipo de contato in the custom state

Hope this help :slight_smile:

I tested it and it works. Thank you so much!

This topic was automatically closed after 70 days. New replies are no longer allowed.