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>

Bryan,

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).

Regards,

Mark


Mark Birbeck
CEO and CTO
x-port.net Ltd.

Download our XForms processor from
http://www.formsPlayer.com/

--- Original Message ---
Hello,

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!

  </xf:message>

</xf:model>

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
correct.

Thanks,

-bryan
Received on Tuesday, 22 June 2004 11:39:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:58 GMT