W3C home > Mailing lists > Public > www-forms@w3.org > June 2004

Re: Alerting the user when there is a submission error?

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Tue, 22 Jun 2004 16:39:03 +0100
To: <www-forms@w3.org>
Message-ID: <005b01c4586f$0be88b20$6f01a8c0@W100>


It may, as you say, depend on which platform you are using. The problem is
that although your mark-up is correct according to the specification, the
"xforms-submit-error" event should really be targeted at the <submission>
element, and not the <model> element - for obvious reasons. There will be an
errata to this effect at some point, but it may be the case that the
implementation you are using has already made the change (formsPlayer has,
and I think others have, too).



Mark Birbeck
x-port.net Ltd.

Download our XForms processor from

--- Original Message ---

I am trying to work my way through the various specifications and
figure out how (at least) one way in which to trap a submission
error and inform the user that there was a problem.  It seems like

<xf:model id="entry-model">
  <xf:message level="modal" ev:event="xforms-submit-error">

  Your data was NOT accepted by the server!



might be approximately the idiom that I need, but this is not
working on the platform I am using, so I am unsure if this is


Received on Tuesday, 22 June 2004 11:39:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:13 UTC