W3C home > Mailing lists > Public > www-forms@w3.org > September 2005

RE: re: Cancelling events

From: Mark Birbeck <mark.birbeck@x-port.net>
Date: Fri, 2 Sep 2005 17:36:18 +0100
Message-ID: <EE0E9C05-C0C3-4103-ADFD-9F52FFF8F290@S009>
To: "'Ben Cochran'" <BCochran@ClubMom-inc.com>
Cc: <www-forms@w3.org>, <boyerj@ca.ibm.com>

Ben,
 
> As you [John Boyer] suggest, the trigger would then always fire the first
submission, but
> only fire the second in certain cases.  Given my example code, how would I
go about doing so?
 
That's much easier -- you don't need conditional events for that. Just put
the xf:send for the second submission in an event handler for the
xforms-submit-done event for the first submission. You are effectively
chaining them together.
 
Regards,
 
Mark
 

Mark Birbeck
CEO
x-port.net Ltd.

e: Mark.Birbeck@x-port.net
t: +44 (0) 20 7689 9232
w: http://www.formsPlayer.com/
b: http://internet-apps.blogspot.com/

Download our XForms processor from
http://www.formsPlayer.com/
Received on Friday, 2 September 2005 16:37:11 GMT

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