Hi everyone,
I am designing a survey where participants will be randomly assigned to three conditions: Healthy, neutral and unhealthy. Within each condition default grocery items will be pre-selected, but the participant will have free will to add, change, delete or swap items as much as they like.
I am seeking some javascript coding to add a feature that tells the participants how many items they currently have selected as they work their way through the grocery store categories. e.g if they start with 30 items in the cart as the default they will need to end with 30 items, not able to go over this limit.
However, i want the participants to know how many items they currently have selected as they select and unselect items.
Is this possible? can anyone help as i have no coding experience ?
thank you so much in advance !
