OpenClinica / enketo-oc

OpenClinica's fork of the Enketo web forms monorepo
Apache License 2.0
0 stars 1 forks source link

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

Open eprager412 opened 8 months ago

eprager412 commented 8 months ago

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