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

constraints on groups #57

Open
MartijnR opened this issue Sep 18, 2012 · 0 comments
Open

constraints on groups #57

MartijnR opened this issue Sep 18, 2012 · 0 comments

Comments

@MartijnR
Copy link

Issue seen as:
'field-list' entered as a constraint on a group (instead of as an appearance) is passed through pyxform without errors and in the resulting XML it is added as a constraint to the binding of that group.

This may not cause errors in clients such as ODK Collect (though not tested by me), because constraints on groups do not exist in javarosa, as far as I know, and are therefore never evaluated. However, a user will not get feedback about using the incorrect column and it may be hard to figure out why a group is not shown as a field-list without that feedback.

It may be better to provide a warning message when a constraint is added to a group (or to a repeat in fact as that is not supported either).

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

1 participant