Error message with the "selected" function

Hi
I need help please
I made a form on odk Build offline which I then imported on kf.kobotoolBox.org
But during deployment I have this error message with the "selected" function
I tried to see what's wrong with the select function but I can't find it.
Here is the formula I used
selected(${PROFESSION}, "9")

""
ODK Validate Errors: >> Something broke the parser. See above for a hint. Error evaluating field 'aBx69VjK7qxJFMZv6shT2b' (/aBx69VjK7qxJFMZv6shT2b): The problem was located in Condition expression for /aBx69VjK7qxJFMZv6shT2b XPath evaluation: cannot handle function 'Selected' Caused by: org.javarosa.xpath.XPathUnhandledException: The problem was located in Condition expression for /aBx69VjK7qxJFMZv6shT2b XPath evaluation: cannot handle function 'Selected' ... 10 more The following files failed validation: ${tmp8pfj1zjs} Result: Invalid""

It's good
I was able to solve my problem.
In fact there were several problems
Most syntax problems.
Like the mascule on S of selected or the spaces which increased the size of the characters the repetition of the letters in the choices

1 Like