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

Form programmer chooses which tangy-location input is used for the visits tab in a form #3669

Open
esurface opened this issue Nov 30, 2023 · 0 comments
Labels

Comments

@esurface
Copy link
Contributor

On the offline client, the 'Visits' tab shows a count of forms by location and date to help data collectors review where and when forms were filled. The location associated with the form is based on the first tangy-location input in that form ('noLocation' if there is no tangy-location input). This is not useful if the form programmer wants to have a different location list than the first to be used as the location in the visits tab. An improvement will to to add a setting in tangy-location-editor that allows the form programmer to choose which location list to use.

Caveats --- the tangy-form-editor elements are not currently aware of each other. The addition of a cross-input setting is new. There should only be one tangy-location selected per form. Best attempt might be to leave them unaware of each other. If the form programmer selects more than one location for the visit tab, then the code will use the first one.

Related to: #3628

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

No branches or pull requests

1 participant