I cannot deploy

ODK Validate Errors: >> XForm is invalid. : Encountered a problem with display condition for node [${_79_If_Other_Specify}] at line: selected( ${_89_Which_markets_in_the_Great} , ‘Don’t_Know’), Couldn’t understand the expression starting at this point: …e_Great , ‘Don’͎t_Know’) The following files failed validation: ${tmptkjal8cs} Result: Invalid. This is what it says any help

1 Like

@eskay12, you may need to share your XLSForm with the community! The community should be able to help you out.

It says I cannot upload it.

I really need help

It says new users are not legible to upload a file

@eskay12, you should now be able to upload your XLSForm to the community forum.

akpg7QTTHNjd3tYGVLrLf6.xlsx (22.0 KB)

Thank you very much. Please, this is the attached file. I will be very glad if you can work on it for me as I cannot deploy nor preview this

The problem is that you have a single quote (') in the choice value in your selected() expression, so the parser cant tell the difference between this quote and the actual string delimiter for end-of-string quote:

[note, you do this again a couple questions later]

If you change the string delimiter to use double quotes instead it should fix the issue; eg this


akpg7QTTHNjd3tYGVLrLf6.xlsx (27.8 KB)

However, I’d probably just avoid using single quotes in choice values, because you are liable to keep tripping over this again and again… I might suggest using “Dont know” as the choice value instead (or better yet, “dont_know”)

Thank you very much I really do appreciate. Is it possible to schedule a zoom or google teams with me to explain how you rectified it. My email is larryerickson83@gmail.com