I have a feature layer from Survey 123 Connect
It has 3 fields for business hours for each day of the week
Ie: Open or Closed & if open was selected in the survey the next two fields
Open time
Closed time became available.
I am trying to configure the popup to show
"Business Hours" all together.
I have worked out the Arcade expression for one day but cannot work out how to add the other days.
Hope this makes sense and someone can help
Thanks
My expression:
if ($feature["sunday_open_close"] == "closed")
return "Sunday - Closed";
else {
return "Sunday" + (' - ') +
Concatenate($feature["sunday_open"],(' - '),$feature["sunday_close"])
}
// wednesdays times
if ($feature["wednesday_open_close"] == "closed")
return "Wednesday - Closed";
else {
return "Wednesday" + (' - ') +
Concatenate($feature["wednesday_open"],(' - '),$feature["wednesday_close"])}