- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Fri, 15 Jan 2021 13:44:47 +0000
- To: XForms <public-xformsusers@w3.org>
One of the issues we discussed was where to dispatch submit-error and
submit-done to if <send/> doesn't specify a <submission/>
One possible solution is to say
* <send/> operates as normal, using a <submission/> element; attributes on
<send/> add to or override the equivalent attributes on the <submission/>.
submission errors are, as always, dispatched to the <submission/>
* if a <send/> doesn't reference a <submission/>, then its attributes are
used, but submission errors are ignored.
In the latter case, if you still wish to catch submission errors, then use
an empty <submission/>
<submission id="s">
<action ev:event="xforms-submit-error">
...
</action>
</submission>
...
<send submission="s" ...>
Steven
Received on Friday, 15 January 2021 13:45:01 UTC