-
Notifications
You must be signed in to change notification settings - Fork 1
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
Calculation not firing correctly for new form #16
Comments
I just noticed that in the first pass through the form, the required items with values are still displaying the red asterisk unexpectedly. They correctly disappear when the form is reopened. |
Yeah, probably. |
regarding required asterisks maybe this is related: enketo#1295 |
Logged new issue #14 for the red asterisk issue. That is actually a pre-existing bug and not a top priority to be fixed. |
Steps:
Expected:
The calculated text item "The temperature you entered is" should display a concatenated string derived from those values: "98.6 ⁰F"
Actual:
The calculated item is empty on the screen and no submission is made for the background calculated item or the displayed calculated text item.
Note that changing the values on the form does not make a difference in this session. However, if the form is reopened as an existing record (/edit/fs/c/i/) with the basic instance generated from the initial session, then the calculated text item appears as expected and submissions are made for the background item and displayed item. Sample instance to use when reopening the form -
Calculation not firing on new form.instance.txt
Reopening form working as expected:
The text was updated successfully, but these errors were encountered: