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

Survey info- cadre and numbers being added when learning/browsing #523

Closed
alexlittle opened this issue Feb 15, 2018 · 1 comment
Closed

Comments

@alexlittle
Copy link
Member

If I enter info for a cadre and numbers of health workers when accessing one resource, then I go to another resource, but select either learning/browsing/other, then the cadre and number info is still being added to these records.
For now it's ok as can filter these out when creating a report, but would be good if these fields were automatically blanked out if another reason is chosen.

@bennylope
Copy link
Contributor

#524 fixes this.

The data is just always saved to the session, so it's simplest here to filter this out when validating the form.

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

No branches or pull requests

2 participants