I am trying to generate unique ID of registered event using calculate option. However, by using the logic you explained in the help section, I always get a following error message : ,
There has been a problem trying to replace ${project_title} with the XPath to the survey element named ‘project_title’. There is no survey element with this name.
This is the code I used
concat(${project_title},“-”${event_type},“-”${community},“-”${commencing_on})
And this is the Questions I build in the form:
Project title
Event type
Community
Commencing on
What I would like to get a unique event code pertaining data from the above items, eg. EU-WS-ZE-12-12-23
if the answers on the items are:
1- EU
2- Workshop
3-Zenica
4-12-12-23
Would could be a possible problem or mistake I made while constructing the code.
Do you have any question in your form named as " project_title"? It is probably, because you don’t have this named question, and Kobo can’t find the question and throws and error
I think you are writing the wrong XML values, that’s why you face the issue, you need to write the “name” column values between ${}. as i can’t see the whole name column, so you can find the part of the code below. If you can share the Excel version of the form instead of PDF, i can give the formula directly