Substring calc in iOS not working (?)

556
1
04-16-2018 12:57 PM
JimCasey
New Contributor II

Trying to set a field value from another field using substr in the calculation field - and it is not working in iOS.

There are address values already in my survey which can be re-used to populate other address fields in a repeating section, thus reducing keyboard entry. It works well in Survey123 Connect and in Survey123 desktop. In iOS Survey123, the fields are not populated by the substr function set by using the calculation field. They are left empty. 
Is this not supported in mobile?

The calculation outputs an existing address except for the house number, which is replaced with 000 : 
"000 "+substr(${address_listed},4)

Can you get this to work?

0 Kudos
1 Reply
JamesTedrick
Esri Esteemed Contributor

Hi Jim,

I have an example as you've described that works in iOS; see the first attached file.

That being said, I'll note that while the field app supports + for string concatenation, the web form requires the use of the concat() function - see the 2 form.

0 Kudos