In a survey I am developing I have my name column arranged so that entries include a term which I would like to use in the relevant column. e.g below I want to show the next question only if the answer to the previous question contained the word 'Direction'
or something along the lines of:- ${previous_question} where the previous question is like 'Direction'
If it is possible what would be the correct syntax? None of my fiddling with wildcard characters seems to do the job. Any assistance would be greatly appreciated, Tom.
Hi Tom
To accomplish this, you would use a regular expression to create the match pattern - Relevant expressions—Survey123 for ArcGIS | ArcGIS . See Regular Expressions - JavaScript | MDN and https://regex101.com . I think for your requirement it would be as simple as
regex(${previous_question}, "Direction")
Thanks James, yes that worked well. Regards, Tom