Chaining snippets

Hi everyone,

I hope someone can help me with this.

I'm looking for a way to link my first code snippet to my last code snippet.

The goal is that if "Sharpevents" is selected in the first snippet, the last snippet automatically uses the website link for 'sharpevents.nl'

Could someone show me how to do this?

Thanks in advance!

{note}{formmenu: default=Maak keuze; Sharpevents; Wavevents; name=Sharp of Wave}{endnote} {if: `Sharp of Wave`=="Sharpevents"}{import: [activiteitensharp]}{else: trim=yes} {if: `Sharp of Wave`=="Wavevents"}{import: [klant-niet-bellen]}{endif}{endif}

ACTIVITEITEN

{note: trim=left}{formmenu: Actieve spellen; name=activiteiten; multiple=yes}{endnote}

{if: contains({=`activiteiten`}, "Actieve spellen")}{import: [actievespellen]; trim=left}
{endif}

{note: trim=left}{formmenu: Archery tag;name=Actieve spellen; multiple=yes}{endnote}

{if: contains({=`Actieve spellen`}, "Archery tag"); trim=left}{import: [archerytagnl]; trim=left}
{endif}

ARCHERY TAG

Willen jullie eens iets anders dan ouderwets paintballen, waarbij je vies wordt en vol blauwe

Hi @Dominic_Straathof
You could try the following.
Because Sharp of Wave is defined in the "top" snippet, I've used catch() as a precaution in case the [archerytagnl] is triggered directly or by another snippet where Sharp of Wave is not defined.

ARCHERY TAG

Willen jullie eens iets anders dan ouderwets paintballen, waarbij je vies wordt en vol blauwe
{if: catch(`Sharp of Wave`="Sharpevents",no)}Sharpevents – 19 Oct 20
Bedrijfsuitje organiseren? | Originele uitjes – Sharpevents
Op zoek naar een origineel bedrijfsuitje? Sharpevents organiseert workshops, activiteiten en teamuitjes op maat. Actief in 50+ steden in Nederland.{elseif: catch(`Sharp of Wave`="Wavevents",no)} Wavevents – 26 Jan 21
Wavevents | De leukste activiteiten voor jouw event!
Wavevents is de nr 1 in duurzame uitjes langs de Nederlandse kust. We brainstormen graag met u mee voor een uitje op maat. Kan niet bestaat niet!{else}Something else{endif}

Hi Dan,

This is perfect, thank you so much!