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

Re: autosubmit

From: David Landwehr <DLandwehr@novell.com>
Date: Wed, 16 Feb 2005 08:38:22 +0100
Message-Id: <s212f890.034@emea1-mh.id2.novell.com>
To: <ava@vaz.ru>,<www-forms@w3.org>

Hi Alexander,

You can attach a send action to the xforms-ready event, e.g.

<xforms:model>
  <xforms:instance../>
  
  <xforms:send submission="initialsubmit" ev:event="xforms-ready"/>
  <xforms:submission action="url" method="post" replace="none"/>
</xforms:model>

Notice that the xforms-ready event has the model as target so you have
to listen on the model.

Best regards,
David

>>> Alexander Anokhin <ava@vaz.ru> 02/16/05 5:57 am >>>
Hello, all

Q: How can I automatically send some instanse right after loading if 
it's already holds some data? Some kind of "onLoad" event? ;)..
-- 
Alexander Anokhin
AVTOVAZ JSC
email:ava@vaz.ru 
icq:123275798
Received on Wednesday, 16 February 2005 07:39:42 GMT

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