I currently have a code that makes combo boxes hide or show, but I am concerned about what will happen if I add more categories. If I do add more categories, I would have to modify the code each time.
My goal is to have a variable that can hold multiple values separated by commas.
Then, I need a way to separate these values and store them in an array. This way, when the user wants to add more categories, I can simply update the array without editing the code.
How can I efficiently separate values that are divided by commas and add them to an array?