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

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 UTC