Hi All
I have constructed an Arcade expression to parse field values in from a selected feature (in Field Maps) to a url and open up and fill in an online form:
var url = "https://xyz.gov.au/xyz/xyz/SmartForm.html?formCode=MRF"+"&"+$feature["doc_no"]+"&"+$feature["f1_lichold"]+"&"+$feature.reader+"&DEWNR staff"+"&Annual"
return url
It work fione except for when a name in "f1_lichold" has an & in their name eg D & S Smith. The form just fills in D as the name and fails to complete the rest of the values.
I am assuming that "&" is considered as a break, but is there anyway I can construct the url above to avoid this and fill in the name as D & S Smith?
Note I have also tried just creating a link in the pop up as so
https://xyz.xyz.gov.au/xyz/xyz/SmartForm.html?formCode=MRF&{doc_no}&{f1_lichold}&{reader}&DEWNR staff&Annual
But the result is the same
Cheers
Chris