I have a multi-county survey (~100 countries) where there are certain areas in the survey that needs to be changed depending on the embedded variable “country”.
For example, there is a welcome message which also contains the Name & Designation of the responsible person at local entity at end of the message (let’s call this “welcome_signature”). Instead of creating 100 different welcome messages, I am considering to create 1 hidden question with 100 answer options and set the answer of this hidden question based on the embedded field country. Then use this hidden question as a pipe-in text in the welcome message.
This is just 1 example, but there are few other areas where similar country specific changes are needed.
However, I want to avoid writing 100 branching conditions. What would be ideal is to use the country variable to directly assign the answer options of the hidden questions. (something like welcome_signature = country).
Not the best example, because it sounds like I could also use the translations to change the content to be country specific. But there are many such customizations (where I cannot use translations) and I would like to see if there is a programmatic solution available for my requirement.
How can I achieve this?