Option Online Single Submission allows multiples submissions in same browser session

Description

The single submission option *Online-Only (single submission) allows multiple submissions even from the same browser session

Link shows “single” …
Enketo Express for KoboToolbox…”

Steps to Reproduce

  1. Load a form (with metadata deviceid)
  2. Set Online (Single submission) and Copy Link
  3. Open Browser copy Link, open form and submit first case
  4. Reopen same link and submit second case
  5. Go to KoBoToolbox project and look at the data. You will see two (!) cases, with same deviceid.

Expected behavior

Only one submission allowed.

Actual behavior

Doesn’t seem to control single submission restriction.
Same problem if tested with Open inside KoBoToolbox.

Cookies after first submission
image
Cookies after second submission
image

Additional details

Tested with current Firefox 101.0.1, MS Windows, OCHA Server.
The behaviour is ok, as expected if the option Online-Only (once per respondent) is used.

@wroos, let me try to explain this. When you select Online-Only (single submission) you are allowed to make a single submission with the URL. You will then see this message as shown in the image below after submitting the submission to the server:

You should be able to make a new submission with the same URL in the same browser (if you paste the URL in a new tab to make a new submission) when this option is selected.

However, when you select Online-only (once per respondent), you are only allowed to make a single submission with the URL. You will then see this message as shown in the image below after submitting the submission to the server:

With this option selected, you can only make a single submission with the URL. Pasting the URL in a new tab to make a new submission in the same browser should not work with this option unless you change your browser or clear your browser’s cache. You should get a similar message as shown in the image below when you paste the URL to make a new submission (in the same browser) again:

These details should also provide you with additional hints:

1 Like