Open avernet opened 8 years ago
This has the same cause as #936. Event parameters are not available in the second phase a of a two-phase submission (that is, a submission with replace="all"
). Workaround is to store the information somewhere (a separate instance) during xforms-submit
, and access it from there in the resource
or other AVTs.
How to fix this?
SubmissionParameters
?)xxforms-submit
eventxxforms-submit
eventEntered #5832 which when fixed would address this.
In Form Builder, paste the content of scratch.txt in a new form, click Test, click *Submit", and notice that in the httpbin output, the value of
my-parameter
is empty, while I would expect it to be42
.I hit this while looking into a related (same?) issue reported by Chunyu on the mailing list.