error in survey123 webapp

245
0
07-12-2022 02:20 AM
GIS-KoordinatorLandkreis_Spree
New Contributor III

hi,

I get in the webapp of survey123 an "expression is not a legal expression" error, although the connect as well as the surveyapp produces no errors.

I was able to isolate the error and it must be in the list setting, in which we display an image via a url.

in the survey123 app this works without any problems.

the query is as follows:

if( now() - ${CreationDate} <= 7*24*3600*1000,concat("<font color='red'>Wildmarke: <strong>", ${workorderid},"</strong> :biohazard:<br>Fund: ",${description},"<br><img src=",${url},"width='200' height='200' /></font>"),concat("<font color='black'>Wildmarke: <strong>", ${workorderid},"</strong> :biohazard: <br>Fund: ",${description},"<br><img src=",${url}," width='200' height='200' /> </font>"))

what is wrong with this and why does the webapp have a problem with this?


Greetings

Rico

0 Kudos
0 Replies