Simple If statement creating an error

Hi,
I have updated the questions in my form, however, now the calculations’ don’t work. They were working for over one year before. Does anyone have any insights?

In the XLDForm Online checker it says: Error: [row : 18] On the ‘survey’ sheet, the ‘calculation’ value is invalid. Reference expressions must only include question names, and end with ‘}’.

In Kobo it says: There has been a problem trying to replace ${TT_project management} with the XPath to the survey element named ‘TT_project management’. There is no survey element with this name.

Thanks!

You appear to have a space in the name "TT_project management". Question names cannot have a space in them; try changing it everywhere to TT_project_management

From XLSForm Docs

The name column specifies the unique variable name for that entry. No two entries can have the same name. Names have to start with a letter or an underscore. Names can only contain letters, digits, hyphens, underscores, and periods. Names are case-sensitive.

2 Likes