I have created a database with a dropdown menu. It only allows one choice but I would like the user to be able to choose multiple options. Can anyone tell me how to do this. I can’t write code but I found a script for multiple option selection. When I try too use it, I receive the following message: “parsing error blah blah blah.” Help!
Hi,
Did you mean a dropdown that looks like this?
You can try to implement it on your own (using checkboxes).
Anyways, yo can vote for this feature in https://www.wix.com/code/home/forum/community-feature-request
** If this image don’t represent desired component, please attach an image that do.*
WixCode understands all of Javascript, except for anything that accesses the DOM. This keeps the user from inadvertently “breaking” something. And, this is the reason that the script you have does not work.
Accessing document elements such as div, span, button, etc is off-limits. The way to access elements on the page is only through $w.
You can create your own dropdown by using a Repeater and expanding it when it’s populated with the choices. For information on how to use the Repeater, see the articles about the Repeater .
I hope this helps,
Yisrael
Take a look at Example: Checkbox Dropdown . This will give you a good idea how to create your own checkbox dropdown menu for your site.
Thank you so much for the information. I’ll give it a try and report back!