Select to view content in your preferred language

Using Survey123 Connect - create dynamic Thank You page

374
1
07-11-2023 02:29 PM
NorwinPengelly
New Contributor

Using Survey123 and 'generated_note_prompt_submitted" to generate a Thank You page.  Is it possible to dynamically change the content of the Thank You note based on a 'relevant' condition?

For example,

if ${yes_no}=yes ---> show this thank you message "Thank you. Glad to see you have chosen Yes"

if ${yes_no} = no ---> show this thank you message "Thank you, but sorry to hear that you have answered No"

0 Kudos
1 Reply
JenniferAcunto
Esri Regular Contributor

Add a calculation field and use an if statement to calculate your message. You can set the field type to null so that you don't store your message in your data. 

if(${yes_no}='yes', 'Thank you. Glad to see you have chosen Yes.', 'Thank you, but sorry to hear that you have answered No.')

 

Then in the label for your  generated_note_prompt_submitted field refer to your calculated field ${calculatedfield}

- Jen
0 Kudos