I get the error “There has been a problem trying to replace ${} with the XPath to the survey element named ‘’. There is no survey element with this name.”
I’m not sure why and what is wrong. I only have one “select one of two options” question, with a yes or no answer, if answer is yes it branches to the next and final question. If no, it doesn’t.
I have attached the screenshot.
Thank you.
Hello @Fmeamari welcome to the community
Can you please check your xls form
through online validator ?
It should give you a quick scan of any syntax issues that is within your xlsform.
1 Like
Hello, thank you
I uploaded it there and it gave me the same error. I’m not sure what I need to do to adjust it.
Can you show the screenshot of the error you are getting from the online validator?
@Fmeamari ,
Can you able to download your form in xls format
and share it with us, so we can look further into it?
Meantime there are some topics that might solve your problem:
Thank you.
The name {data} is also in your revision, then you haven’t used it in a formula and so it seems all right, but it’s not okay, because if I wanted to use it it wouldn’t be possible.
I believe we now know that {data} should not be used as a formula field name
I edited all 42 submissions by re-entering the datetime value in a new field with a different name.
And then I redeployed the xlsx form without the {data} field anymore.
I hope this post will serve others to avoid this undocum…
@aminata , would you mind checking out row 877 from the survey tab? It has a constraint, ${Parc_agroforestier} != ${Champ_ouvert} where the name Champ_ouvert is not available anywhere else.
[image]
Fix this and it should solve your issue.
I am trying to attach the xls format file of the form but it says new users cannot upload attachments. How can I share it?
Hi @Fmeamari , I think someone from the moderation team would give you access to upload your form and inform you about it as soon as they can.
In the meantime can you provide a screenshot showing survey
and choices
in your xlsform
?
Hi @Fmeamari ,
The first screenshot is choices
indeed, but the second screenshot is settings
Can you provide a screenshot of the survey
tab in the excel?
Kal_Lam
January 26, 2022, 5:39am
11
@Fmeamari , maybe this post discussed previously should help you solve your issue:
Hello
The error is that of the object, with $ {data}
There is no deploy-error, and in fact I can use it very well in enketo web, but I would also like to use it in kobo-collect, to be able to insert the map offline
and kobo-collect fails to load the form
probably due to this error.
But the formula
concat(${abbr_nome},${abbr_cognome},format-date(${data},’%y%m%d’),${progressivo})
which works in enketo web
it refers to a single element (I have just registered, although I have been consult…