OpenClinica / enketo-oc

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

Form (Anonymous) Submission Fails in Pages mode with Signature Widget #31

Open eprager412 opened 8 months ago

eprager412 commented 8 months ago

Description Form (Anonymous) Submission Fails for Pages Theme with Signature Widget

To Reproduce Steps to reproduce the behavior.

  1. Open attached form in mode /single/full/participant/ MUTLIPAGEv10.xform.txt
  2. Put something in the signature drawing
  3. Go to the next page and add a date value
  4. Submit

Expected behavior The form submits successfully

Actual behavior The form does not submit, it hangs with a console error.

Screenshots Screenshot 2023-10-13 172725

MartijnR commented 8 months ago

I can reproduce it with:

collect/full/participant: http://localhost:8005/single/full/participant/69da5267c3edeaf9f208c3ab706958fd?ecid=1

regular OC: http://localhost:8005/single/fs/i/x3Rsw83W?ecid=1 regular ODK-style: http://localhost:8005/x3Rsw83W (also broken, but different error)

However, it does not occur with http://localhost:8005/widgets

It may have something to do with the canvas being hidden. Yes, simplified form: http://localhost:8005/3lxZPDBt3ys6WL7zsZpY5BcPYWHDhGc

pbowen-oc commented 7 months ago

Reopening until this is tested.