Counter of selected options in a Multiple Checkbox Custom PropertySOLVE
Mar 18, 2020 2:27 PM
Suppose that I have a custom property (Property 'A') with "multiple checkboxes". Is there a way to have another property (Property 'B') containing a counter of how many checkboxes are checked in Property 'A'?
Property A: classes attended
- Math -> checked
- Physics -> checked
- Chemistry-> NOT checked
- Literature -> NOT checked
- Philosophy -> checked
Property B: number of classes attended
Value = 3
Thanks in advance!
Solved! Go to Solution.
Mar 19, 2020 1:49 AM
There are a few ways to do this:
a) set up a Workflow (requires Marketing Pro) to check each Option in Property A. If an Option is set (e.g. Math) then increment Property B. It's a good idea to set Property B to zero at the start of the workflow.
c) create a HubSpot Integration that watches Property A for a change. The Integration would then call some code to update Property B based on Property A.
Each has pros & cons. They're in order of complexity (and budget).
Let me know if you need me to elaborate.