Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Wrap known Data Names in relevance with ${} #11

Open
yanokwa opened this issue Jun 10, 2019 · 0 comments
Open

Wrap known Data Names in relevance with ${} #11

yanokwa opened this issue Jun 10, 2019 · 0 comments

Comments

@yanokwa
Copy link
Member

yanokwa commented Jun 10, 2019

I think this might be hard thing to fix, but figured I'd file it.

Given a form that uses the "or other" option, the logic that gets exported to XLSForm isn't correct.

In the relevant column of favorite-color-other, I expect (selected(${question}, 'o')), but I get (selected(question, 'o')).

The Data Name should be wrapped with ${}. The path doesn't matter because pyxform requires that the Data Name to be unique.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants