Custom interactions after selecting a dropdown menu

Hello,

I like the custom interactions more and more and that’s why I keep coming up with more ideas. :grin:

I want to start a custom interaction after selecting the dropdown menu. In the editor of the dropdown menu, I have given each selection a value, starting with “0”, ‘1’, “2”, etc.

Where can I set the value “0” to start the interaction “Tarife 18 bis 20 Jahre ohne AR” and the value ‘1’ to start the interaction “Tarife 21 bis 30 Jahre ohne AR”?

I look forward to your support.

Best, Alex

ich glaube nicht dass, im aktuellen Set an Interactions etwas dabei ist das auf einen “select” bei einem HTML < select > Element reagiert. Dazu gibt es einfach zu viele Events und Varianten.

Das < select > Element wird meist in einer < form > verwendet und dann beim versenden oder abarbeiten der Form Action eben dessen Wert mitgeschickt, also der Wert 0,1,2,… Drum befindet es sich in der Auswahl auch im “Forms” Bereich.

Wenn Du ein select Element ohne Form verwendest, musst Du selbst den Event abfangen. Normalerweise setzt man im < select > Element einen onchange Event und reagiert dann mit einer eigenen JS Function.

Bleibt noch die Frage was Du überhaupt vorhast, evtl. kannst Du das direkt mit dem Code Widget machen.

Hallo @BLOCS-Freak,
vielen Dank für deine Antwort. Ich habe das Gleiche mit dem Dropdown Button ausprobiert und hier kann ich in den Listenelementen links hinterlegen, die die gewünschten benutzerdefinierten Interaktionen ausführen.
Beste Grüße Alex

----- English -----

Hello @BLOCS-Freak,
thanks for your answer. I tried the same thing with the dropdown button and here I can put in the list items on the left that perform the desired custom interactions.
Best, Alex

stimmt, da sind jeweils die Custrom Interactions da.
Das ist so auch die bessere Lösung, da Du im Grund auch kein Formular versenden willst sonder nur eine Interaktion triggern