Hi, blocka,
you do not need javascript.
Everything is there.
1. Your workshopname.
The name is passed in the url, e.g.
www.limesurvey.com/lime/...../lang=en
?wn=Workshop1
In the first hidden question (wn) (e.g. short text) you insert in the questiontext {wn}, to grab the workshopname.
2. Your target
If the target depends on an answer of a question Q2 like
1=friends
2=children
3=colleagues
you enter in the question text
Would you recommend {wn} to your {Q2.shown}?
or
Would you recommend {wn} to your {if(Q2==1,"friends",if(Q2==2,"children","colleagues"))}?
Depends on the way you calculate the target.
sample attached
Best regards
Joffm