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

When a single text item is entered and the form is closed right away, the field submission call is failing #28

Open
eprager412 opened this issue Oct 24, 2023 · 0 comments
Assignees
Milestone

Comments

@eprager412
Copy link

eprager412 commented Oct 24, 2023

Describe
When a single text item is entered and the form is closed right away, the field submission call is failing.

Note: If the user clicks enters data for 2 separate text fields or makes a non-text selection such as picking a date or a value in a single select there is no issue.

To Reproduce

  1. Open attached form as a new form (view = /single/fs/c/i/)
    failedsubmissioncall.xform.txt

  2. Enter '0' for "Height", do not click out of the field

  3. Click the "Close" button

  4. View the browser network panel calls/results

Expected behavior
We expect that the page will wait to close until the submission has completed successfully.

Actual result
The page closes even though the submission fails

Screenshots
2023-10-25_10-58-51

2023-10-25_12-06-52

Browser:
chrome

@eprager412 eprager412 changed the title The common event section does not display forms with a "Data Entry Started" status if the only data entered is a text value and Close is clicked before the user changes focus When a single text item is entered and the form is closed right away, the field submission call is failing Oct 25, 2023
@pbowen-oc pbowen-oc added this to the Next milestone Oct 25, 2023
@pbowen-oc pbowen-oc assigned MartijnR and unassigned eprager412 Oct 25, 2023
@MartijnR MartijnR transferred this issue from OpenClinica/enketo-express-oc May 22, 2024
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

3 participants