RE: re: Cancelling events

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


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 18:44:33 UTC