tage choices based on database values

Hi,

I have a tage, but when collecting the choices I can no longer choose from a database with choices

How can i connect it to a dataset with values?

Thanks :slight_smile:

Please provide some more infos.

The more input = the more output.

Hi Velo,

Thank you for your response and you are right :wink:

I actually want to be able to determine the values ​​based on the database with a selection tag, just like with a dropdown.

Normaly this is an easy task…

  1. place a selection-tag-element onto your page…

  2. place a repeater-element onto your page…

  3. place a text or what ever you want into your added repeater…

Your current setup should now look similar to this one…

  1. connect your selectiontag-element by the help of a dataset with your wished database…


…take the FILTERING-OPTION.

  1. do the same with your repeater…

  1. Run your site in PREVIEW-MODE and test your setup…

The problem remains that I want to save the value in a database.
I am unable to save the value with a filter.

Try to use some code. With CODE → EVERYTHING IS POSSIBLE!

I just don’t know how to make that code. Do you have an idea?

If you start to go coding way, you will have to be able to understand the code later.

What you are trying to do is to generate a FILTERING-ENGINE, right?
Before you start to go the difficult coding way, maybe you could try first to use 2 different dataset, for your purposes.

  1. ONE DATASET which will do the FILTERING
  2. SECOND DATASET which will SAVE DATA INTO DATABASE.

If you want to go the CODING-WAY either, you can take a look onto this one…

Follow this post till end, you will leran a lot, but you will also have to invest some time, before you get results…

https://community.wix.com/velo/forum/coding-with-velo/database-filtering-and-grouping-including-caching-of-results

Start your CODING-ADVENTURE…

And maybe this one about Dropdowns, could also be useful for you…
https://community.wix.com/velo/forum/coding-with-velo/add-multiple-unique-drop-downs-to-a-code

Hi,

I am trying to understand steps 1 and 2. I understand step 1, but I don’t understand how to do step 2 on the same tags.

The filtering,

To save to,