I've built a form in Survey123 Connect where I have a field {title} ending in a 2-digit year ("....-25"). I want to use that value and concatenate it with "20" in field to create a 4-digit year in a subsequent field {year}. While the preview works in Survey 123 Connect, the published form does not. Some folks troubleshooting the Connect .xls were able to replicate the problem.
concat('20',string(substr(${title},-2,2)))
The code works as long I don't do both substring and concat, it works in the form. It will concatenate the whole {title} to {year}, but will never add the substring in the published form.
Has anyone experienced this or suggest a work around (maybe I need to make an interim, invisible field?).