Checkbox in forms

Hi All,

Is there a way I can include only the checked items in a form?

For example, I have services:

  • Design
  • Development
  • Content management

and I would like users to check the services they want to include. So if they only check design, then only design would show up after they submit the form as opposed to all the items showing up with true/false values next to them.


Only by editing the code that Blocs creates for the form in the includes folder. (Without creating your own anyway.)

Hi Malachiman, thanks for responding.

I’ve only recently started using Blocs. I had a look at the php file, but I’m a front end designer so have extremely little knowledge of coding. Can you perhaps give me an example what the code should change to if I don’t want to include the unchecked items?


Does this help?

@KBConcepts that helps on the front end, but forms are processed via the back end, which is where the mod needs to take place.

Thanks for making this clear.