Getting Error by using replace function

17 views
Skip to first unread message

Zeeshan Ahmad

unread,
Aug 17, 2021, 5:50:09 AM8/17/21
to enketo-users
Hi Team,

I am using replace function but i am getting error.
Attached is the screenshot of error.

Thanks & Regards.
Zeeshan Ahmad
replace function error.PNG

Zeeshan Ahmad

unread,
Aug 26, 2021, 6:25:11 AM8/26/21
to enketo-users
Please help me to resolve this issue.

Martijn van de Rijdt

unread,
Aug 26, 2021, 10:24:35 AM8/26/21
to enketo-users
Hi Zeeshan,

There is no replace function as far as I know :). I'm wondering where you found it.

You're probably looking for the "translate" function.

Here is the source for the spec we use: http://getodk.github.io/xforms-spec/#xpath-functions (meant for developers though). You could also have a look at the https://docs.getodk.org/form-logic/ documentation for more reader-friendly descriptions.

Cheers,
Martijn

Reply all
Reply to author
Forward
0 new messages