I have a survey where we ask if it was a trip to your home and the response is yes / no.
If yes, then the next page (a form) will show a field asking ‘Where did you go?’ and the default option of ‘home’ is entered. The ‘Where did you go? (including name of place/business if applicable)’ field is hidden, as is the ‘street address’ field and instead a ‘location description’ field is shown.
If no, then the ‘Where did you go?’ and the default option of ‘home’ is hidden and the ‘Where did you go? (including name of place/business if applicable)’ field is shown, with the ‘street address’ field also shown and the ‘location description’ field hidden.
This is because we don’t want to know respondent’s actual addresses, just an area, but if it is a business etc, then we want to know the address.
This works fine but when it comes to subsequent questions, we want to pipe in their answer to where they went, which, previously I did by adding “${q://QID56/ChoiceTextEntryValue/2}” where relevant. If they choose ‘home’ and then the default response of ‘home’ comes up, the other ‘where did you go question’ is hidden and remains blank. Then, if I pipe in “${q://QID56/ChoiceTextEntryValue/1}${q://QID56/ChoiceTextEntryValue/2}” where relevant, ‘home’ comes up.
BUT, if they had selected ‘no’ to home and that form field with the default option of ‘home’ is not displayed to them, they fill in the other ‘where did you go’ question (for example: “Woolworths”), then when the subsequent questions pipe in “${q://QID56/ChoiceTextEntryValue/1}${q://QID56/ChoiceTextEntryValue/2}” where relevant, ‘homeWoolworths’ comes up.
I understand why but is there a way to have the text piped in only from those fields displayed to the respondent?
This series of questions is repeated 10 times and the piping of the name of where they went throughout the survey. It would be nice if it was possible to make this work somehow? If not, I will just make the questions generic or say “type ‘home’ if you said you went home” or something clunky.
Many thanks for your help in advance!
