Yep, I use a child theme for any file customizations. I just wanted to confirm that the code snippet belongs in the functions.php file before messing with it.
Worked like a charm, thanks for your help.
Hi Lap:
I’m trying to do the exact same thing – use the CF7 form to assign the user to a hidden interest grouping.
I’m fairly decent with code, just not sure where I should put that snippet from github. Would that go in my functions.php? Or directly into the CF7 form builder?
Also, looking at the snippet, I have one question:
Do I need to define every grouping as true or untrue? Or if I just define the desired grouping as true, does that suffice?
Thanks in advance for your help.