Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden Required Tags #158

Open
jasonrogena opened this issue Aug 25, 2016 · 4 comments
Open

Hidden Required Tags #158

jasonrogena opened this issue Aug 25, 2016 · 4 comments

Comments

@jasonrogena
Copy link
Contributor

Required tags that are hidden due to hide_if and show_if constraints remain required even when hidden. Users are unable to save data to ODK in such scenarios as the "There are n required tags that you need to complete" snackbar shows for the hidden tags.

@hallahan
Copy link
Contributor

Ah, good catch.

@hallahan
Copy link
Contributor

I'd say if the tag is required, never hide it.

@jasonrogena
Copy link
Contributor Author

OK, cool. It's just that we deal with some scenarios where if a question is displayed using show_if or hide_if, the user is required to answer it.

@hallahan
Copy link
Contributor

Or, you could put logic in where if a required tag is hidden, it's not required. That sounds reasonable to me.

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

No branches or pull requests

2 participants