Select to view content in your preferred language

filter survey123 report based on another field record.

518
1
Jump to solution
08-20-2023 12:59 AM
MajidAlabrawi1
Occasional Contributor

can anyone support me i am trying to filter a question based on another field this is to be in S123 report. the below photo shows the step which i need to apply it is it possible? 

MajidAlabrawi1_0-1692518292642.png

 

Tags (2)
1 Solution

Accepted Solutions
MajidAlabrawi1
Occasional Contributor

i have been tryed may syntex and i got the sloution 


${if stolen_dss == "Yes"}

Photo of Stolen DSS

${#img_stolen_dss}${$file | size:250:250}${/img_stolen_dss}${/}

so, in simpler terms, this code says: "If the answer to the stolen_dss question is Yes, then display the text 'Photo of Stolen DSS' and the image from the img_stolen_dss field, resized to 250x250 pixels." If the answer to the stolen_dss question is not Yes, then nothing will be displayed in the report.

View solution in original post

0 Kudos
1 Reply
MajidAlabrawi1
Occasional Contributor

i have been tryed may syntex and i got the sloution 


${if stolen_dss == "Yes"}

Photo of Stolen DSS

${#img_stolen_dss}${$file | size:250:250}${/img_stolen_dss}${/}

so, in simpler terms, this code says: "If the answer to the stolen_dss question is Yes, then display the text 'Photo of Stolen DSS' and the image from the img_stolen_dss field, resized to 250x250 pixels." If the answer to the stolen_dss question is not Yes, then nothing will be displayed in the report.

0 Kudos