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

RE: re: Cancelling events

From: Ben Cochran <BCochran@ClubMom-inc.com>
Date: Fri, 2 Sep 2005 14:44:20 -0400
Message-ID: <013418E6EE2BE040A334C44449EFF03003C010@exchange.clubmom.local>
To: "Mark Birbeck" <mark.birbeck@x-port.net>
Cc: <www-forms@w3.org>, <boyerj@ca.ibm.com>

I understand the chaining, but how does that make the 2nd submission conditional? 

-----Original Message-----
From: Mark Birbeck [mailto:mark.birbeck@x-port.net]
Sent: Friday, September 02, 2005 12:36 PM
To: Ben Cochran
Cc: www-forms@w3.org; boyerj@ca.ibm.com
Subject: RE: re: Cancelling events

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

Mark Birbeck
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
Received on Friday, 2 September 2005 18:44:33 UTC

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