[ad_1]
Hello everyone,
I am making a list of all the interest categories that my list has. I would like the checkboxes to be ticked according to whether the logged in user is in the list with that category of interest or not.
Either I can get all the categories of interest of my user on a hidden field and in javascript I check the checkboxes whose value is filled in this field.
Or I have to synchronize in true/false a meta in my user account for each existing category of interest and retrieve the value through a form variable?