-
Notifications
You must be signed in to change notification settings - Fork 137
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
New non-text calculations output a missing-label warning #451
Comments
The current error messages are preventing forms form being uploaded as expected. Since old-style calculate items are also required to have a calculation, this is preventing forms from having non-visible items with default values that can be utilized by other items on the form in their default value expressions. Note that default values expressions that reference calculated values don't seem to work since the calculations are not performed prior to the default value expressions being evaluated. |
I added a separate issue for this: #454
Added a documentation issue for this: XLSForm/xlsform.github.io#204 Maybe one day we could show a warning in pyxform for this as that would be ideal. |
Great, thanks!
Yes, that's right, that is permitted. I think that part of the logic in pyxform can remain unchanged. We just need to omit the warning(s) we currently have for missing label (and hint), if a dynamic default is present. |
@pbowen-oc I'm working on this. |
I think these warnings are no longer helpful, in the forthcoming release that includes non-text calculations.
Example:
XLSForm
Outputs (in latest master):
The warning remains helpful:
The text was updated successfully, but these errors were encountered: